wok-6.x annotate gogglesmm/receipt @ rev 13237
Move from undigest: phpsysinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:12 2012 +0200 (2012-08-14) |
parents | 6b6740324528 |
children | 6b09507225ec |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="gogglesmm" |
pascal@12782 | 4 VERSION="0.12.6" |
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" |
pascal@12782 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
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 } |