wok annotate rage/receipt @ rev 18115
glib-dev,qcad: clean files.list.lzma, fix overwriting(for what?) get-scripts $depends
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jun 06 21:23:13 2015 +0200 (2015-06-06) |
parents | 0a8a8c347a7e |
children | 86790a278e70 |
rev | line source |
---|---|
pankso@264 | 1 # SliTaz package receipt. |
pankso@264 | 2 |
pankso@264 | 3 PACKAGE="rage" |
gokhlayeh@8596 | 4 VERSION="55225" |
pankso@271 | 5 CATEGORY="multimedia" |
pankso@264 | 6 SHORT_DESC="E17 rage media center." |
pankso@264 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15609 | 8 LICENSE="BSD" |
pankso@12535 | 9 WEB_SITE="http://www.enlightenment.org/" |
pankso@12535 | 10 WGET_URL="subversion|http://svn.enlightenment.org/svn/e/trunk/$PACKAGE" |
pankso@12535 | 11 BRANCH="$VERSION" |
pankso@12535 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12535 | 13 TAGS="mp3 ogg video e17 audio music" |
pankso@16162 | 14 HOST_ARCH="i486 arm" |
pankso@12535 | 15 |
pankso@2918 | 16 DEPENDS="eet evas ecore embryo edje emotion eina libcurl openssl" |
pankso@2918 | 17 BUILD_DEPENDS="eet-dev evas-dev ecore-dev embryo-dev edje-dev emotion-dev \ |
pankso@16162 | 18 emotion eina-dev curl-dev openssl-dev libtool jpeg-dev expat-dev glib-dev" |
pankso@16162 | 19 |
pankso@16162 | 20 # Handle cross compilation |
pankso@16162 | 21 case "$ARCH" in |
pankso@16162 | 22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS subversion autoconf automake" ;; |
pankso@16162 | 23 esac |
pankso@264 | 24 |
pankso@264 | 25 # Rules to configure and make the package. |
pankso@264 | 26 compile_rules() |
pankso@264 | 27 { |
pankso@2918 | 28 ./autogen.sh \ |
pankso@264 | 29 --prefix=/usr \ |
pascal@1516 | 30 $CONFIGURE_ARGS && |
pankso@12535 | 31 make && make 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@12535 | 38 cp -a $install/usr/bin $fs/usr |
pankso@12535 | 39 cp -a $install/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 } |