Changeset 4774 in orxonox.OLD for orxonox/trunk/scripts
- Timestamp:
- Jul 2, 2005, 6:28:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/scripts/gentoo/orxonox-0.3.0_alpha-r4772.ebuild
r4773 r4774 3 3 # $Header: $ 4 4 5 inherit eutils 5 inherit eutils games 6 7 DATA_VERSION=65 6 8 7 9 DESCRIPTION="orxonox is an open-source vertical scroller game programmed in C++, OpenGL, OpenAL and SDL" 8 10 HOMEPAGE="http://www.orxonox.ethz.ch" 9 11 SRC_URI="http://www.orxonox.ethz.ch/files/snapshots/${P}-${PR}.tar.bz2 10 http://www.orxonox.ethz.ch/files/snapshots/ data-r65.tar.bz2"12 http://www.orxonox.ethz.ch/files/snapshots/${PN}-data-r${DATA_VERSION}.tar.bz2" 11 13 LICENSE="GPL-2" 12 14 SLOT="0" … … 25 27 S=${WORKDIR}/${P} 26 28 29 src_unpack() { 30 unpack ${P}-${PR}.tar.bz2 31 cd "${S}" 32 unpack ${PN}-data-r${DATA_VERSION}.tar.bz2 33 } 34 27 35 src_compile() { 28 econf || die "econf failed" 29 30 #./configure \ 31 # --host=${CHOST} \ 32 # --prefix=/usr \ 33 # --infodir=/usr/share/info \ 34 # --mandir=/usr/share/man || die "./configure failed" 36 egamesconf || die 35 37 36 38 emake || die "emake failed" … … 39 41 src_install() { 40 42 make DESTDIR=${D} install || die 43 44 dodir ${GAMES_DATADIR}/${PN} 45 cp -r data/* ${D}/${GAMES_DATADIR}/${PN}/ \ 46 || die "data copy failed" 47 48 dodoc AUTHORS ChangeLog README 49 50 prepgamesdirs 41 51 42 52 #make \ … … 49 59 #einstall || die 50 60 } 61 62 pkg_postinst() { 63 games_pkg_postinst 64 }
Note: See TracChangeset
for help on using the changeset viewer.