ebuild for Charley game updated.

This commit is contained in:
Kolan Sh 2012-12-26 13:59:41 +04:00
parent 62d9ce31d7
commit c97f3f1671
3 changed files with 13 additions and 13 deletions

View File

@ -1,2 +1 @@
AUX charleygame-bin.sh 45 SHA256 ff1a4cbc89383b8983942a51e165f7ddaebfa2f38def5aef5a2c09370f5fcb77 SHA512 1270d8f6c0ba0761516d9b150e6a7f7d55e306ea05110938da6662ddc03bab0b297968996282cef54cb6fdd9c22401f3e5a3d7108243b68479ce6920d3e01522 WHIRLPOOL 0bf463bb0629a261328316eda11d9beaab49bb05775fab207acc5e28a3599fcd6b785e8b407d3f62e1f35b6d7ac4077fc5b72b22ff43ba3c765674185ab6ff52
EBUILD charley-9999.ebuild 948 SHA256 ea2d456f6c492127fc081237f2ea85272caf13eb596797e2105a6f1aeecaead7 SHA512 0d23742d46b7798e4ee08b55d3dd7a86bf74036d38fe527cfa609fb4169bb674ddc2d7656bc18aefa8297af850216bd8a9892aecc8e6b4c60f77be4047c3d66b WHIRLPOOL 40f27a0ad93747b88f147bdd153231104e05d8e2f87a37061af59ea5ffc7aeb368d62c41423c11e562a148c16adca5dfb368a9a189b0628dca3016f920277b88
EBUILD charley-9999.ebuild 1029 SHA256 b8990a04083407ca40df3200837bfe5fdb876eb13df462ed76bb14c94252bd46 SHA512 5d65224494cca4de5c8f2ab6799bafd24bd9a51b00849ed912d06a7194e62209947acb608b36f552e2e3c69127e179c55bdbdc2b98f0afa05c6c2e8bef2b9df2 WHIRLPOOL c4676986b61f58651c6c6cff983bbf45dd5079420349cb6310def1f49cb149f4420482f4d4460836bb38b09464c95ffa4ba7fe991b7fd36f27d55200d1c20fcf

View File

@ -31,17 +31,22 @@ DEPEND="virtual/opengl
RDEPEND="${DEPEND}"
INSTALL_BASE="opt/Charley"
INSTALL_BASE="usr"
src_compile() {
make PREFIX=/usr
}
src_install() {
local BASE=${INSTALL_BASE}
mkdir -p ${D}/${BASE}
cp -R build/* ${D}/${BASE}
mkdir -p ${D}/${BASE}/share/charleygame
cp -R build/*/ ${D}/${BASE}/share/charleygame
mkdir -p ${D}/${BASE}/bin
cp build/charleygame-bin ${D}/${BASE}/bin
chmod a+x ${D}/${BASE}/charleygame-bin
chmod a+x ${D}/${BASE}/bin/charleygame-bin
mkdir -p ${D}/usr/bin
cp ${FILESDIR}/charleygame-bin.sh ${D}/usr/bin/charleygame-bin.sh
chmod a+x ${D}/usr/bin/charleygame-bin.sh
mkdir -p ${D}/${BASE}/bin
chmod a+x ${D}/${BASE}/bin/charleygame-bin.sh
}

View File

@ -1,4 +0,0 @@
#!/bin/sh
cd /opt/Charley
./charleygame-bin