wok annotate gogglesmm/receipt @ rev 10352
bash: make it cross compile!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 22:38:05 2011 +0200 (2011-05-22) |
parents | 0a2bee05a63f |
children | ef8acc3e91a3 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="gogglesmm" |
slaxemulator@7062 | 4 VERSION="0.11.3" |
pascal@1136 | 5 CATEGORY="multimedia" |
pascal@1136 | 6 SHORT_DESC="Goggles Music Manager is nice a music collection manager and player." |
pascal@1136 | 7 MAINTAINER="chadi.elahmad@gmail.com" |
slaxemulator@7062 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1136 | 9 WEB_SITE="http://code.google.com/p/gogglesmm/" |
pascal@1136 | 10 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL" |
slaxemulator@7062 | 11 DEPENDS="fox xine-lib dbus curl sqlite taglib libpng jpeg expat tiff \ |
slaxemulator@7062 | 12 mesa libglu-mesa" |
slaxemulator@7062 | 13 BUILD_DEPENDS="fox-dev sqlite taglib dbus-dev xine-lib-dev \ |
slaxemulator@7062 | 14 sqlite-dev taglib-dev curl-dev expat-dev xorg-xproto \ |
slaxemulator@7062 | 15 xorg-libX11-dev libgcrypt-dev mesa-dev pkg-config" |
pascal@1136 | 16 |
pascal@1136 | 17 # Rules to configure and make the package. |
pascal@1136 | 18 compile_rules() |
pascal@1136 | 19 { |
pascal@1136 | 20 cd $src |
slaxemulator@7062 | 21 # Fixed installing .mo files since busybox install commmand |
slaxemulator@7062 | 22 # doesn't have -T option |
slaxemulator@7062 | 23 sed -i 's| -T||g' $src/Makefile |
pascal@1136 | 24 ./configure \ |
pascal@1136 | 25 --prefix=/usr \ |
pascal@1136 | 26 --mandir=/usr/share/man \ |
pascal@1136 | 27 --infodir=/usr/share/info \ |
pascal@1516 | 28 $CONFIGURE_ARGS && |
pascal@1516 | 29 make && |
pascal@1136 | 30 make DESTDIR=$PWD/_pkg install |
pascal@1136 | 31 } |
pascal@1136 | 32 |
pascal@1136 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 34 genpkg_rules() |
pascal@1136 | 35 { |
slaxemulator@7069 | 36 mkdir -p $fs/usr $fs/usr/share/pixmaps |
slaxemulator@7069 | 37 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7069 | 38 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@1136 | 39 cp -a $src/extra/*.png $fs/usr/share/pixmaps |
pascal@1136 | 40 } |