wok annotate gogglesmm/receipt @ rev 1186

Add unixODBC
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 04 13:28:16 2008 +0000 (2008-08-04)
parents
children 3f898e9b90bd
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="gogglesmm"
pascal@1136 4 SOURCE="musicmanager"
pascal@1136 5 VERSION="0.9.13"
pascal@1136 6 CATEGORY="multimedia"
pascal@1136 7 SHORT_DESC="Goggles Music Manager is nice a music collection manager and player."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@1136 9
pascal@1136 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1136 11 WEB_SITE="http://code.google.com/p/gogglesmm/"
pascal@1136 12 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
pascal@1136 13
pascal@1136 14 DEPENDS="libfox xine-lib sqlite libtag libpng jpeg "
pascal@1136 15
pascal@1136 16 # When compiling, it needs the main packages too.
pascal@1136 17 BUILD_DEPENDS="libfox xine-lib sqlite libtag
pascal@1136 18 libfox-dev xine-lib-dev sqlite-dev libtag-dev "
pascal@1136 19
pascal@1136 20 # Rules to configure and make the package.
pascal@1136 21 compile_rules()
pascal@1136 22 {
pascal@1136 23 cd $src
pascal@1136 24 ./configure \
pascal@1136 25 --prefix=/usr \
pascal@1136 26 --mandir=/usr/share/man \
pascal@1136 27 --infodir=/usr/share/info \
pascal@1136 28 $CONFIGURE_ARGS
pascal@1136 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 # It does not use DESTDIR, and uses xgd...
pascal@1136 35 genpkg_rules()
pascal@1136 36 {
pascal@1136 37 mkdir -p $fs/usr/bin $fs/usr/share/applications $fs/usr/share/pixmaps
pascal@1136 38 cp -a $src/src/$SOURCE $fs/usr/bin/gmm
pascal@1136 39
pascal@1136 40 cp -a $src/extra/*.desktop $fs/usr/share/applications
pascal@1136 41 cp -a $src/extra/*.png $fs/usr/share/pixmaps
pascal@1136 42 }