wok annotate rage/receipt @ rev 6879
Added linux-module-headers to kqemu build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 23:03:53 2010 +0000 (2010-10-20) |
parents | 9f947f5876b2 |
children | c4c54646489a |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="rage" |
pankso@4308 | 4 VERSION="42165" |
pankso@271 | 5 CATEGORY="multimedia" |
pankso@264 | 6 SHORT_DESC="E17 rage media center." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2918 | 8 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl" |
pankso@2918 | 9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \ |
pascal@3132 | 10 emotion eina-dev curl-dev openssl-dev" |
pankso@264 | 11 WEB_SITE="http://www.enlightenment.org/" |
jozee@4972 | 12 TAGS="mp3 ogg video e17 audio music" |
pankso@264 | 13 |
pankso@264 | 14 # Rules to configure and make the package. |
pankso@264 | 15 compile_rules() |
pankso@264 | 16 { |
pankso@2918 | 17 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION |
pascal@5562 | 18 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz |
pascal@5562 | 19 if [ -f $TARBALL ]; then |
pascal@5562 | 20 tar xzf $TARBALL |
pascal@5562 | 21 else |
pascal@5562 | 22 svn co http://svn.enlightenment.org/svn/e/trunk/$PACKAGE \ |
pascal@5563 | 23 -r $VERSION $PACKAGE-$VERSION && |
pascal@5562 | 24 tar czf $TARBALL $PACKAGE-$VERSION |
pascal@5562 | 25 fi |
pankso@264 | 26 cd $src |
pankso@2918 | 27 ./autogen.sh \ |
pankso@264 | 28 --prefix=/usr \ |
pascal@1516 | 29 $CONFIGURE_ARGS && |
pascal@1516 | 30 make && |
pankso@264 | 31 make DESTDIR=$PWD/_pkg install |
pankso@264 | 32 } |
pankso@264 | 33 |
pankso@264 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@264 | 35 genpkg_rules() |
pankso@264 | 36 { |
pankso@2918 | 37 mkdir -p $fs/usr/share/doc/rage |
pankso@264 | 38 cp -a $_pkg/usr/bin $fs/usr |
pankso@264 | 39 cp -a $_pkg/usr/share $fs/usr |
pankso@2918 | 40 cp $src/README $fs/usr/share/doc/rage |
pankso@2918 | 41 cat > $fs/usr/share/rage/example.volumes << EOT |
pankso@2918 | 42 /home/user/Images |
pankso@2918 | 43 /home/user/Music |
pankso@2918 | 44 /home/user/Videos |
pankso@2918 | 45 EOT |
pankso@264 | 46 } |