wok diff gogglesmm/receipt @ rev 1290

Add slitaz-loram-http
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 21 11:00:26 2008 +0000 (2008-08-21)
parents
children 3f898e9b90bd
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gogglesmm/receipt	Thu Aug 21 11:00:26 2008 +0000
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gogglesmm"
     1.7 +SOURCE="musicmanager"
     1.8 +VERSION="0.9.13"
     1.9 +CATEGORY="multimedia"
    1.10 +SHORT_DESC="Goggles Music Manager is nice a music collection manager and player."
    1.11 +MAINTAINER="chadi.elahmad@gmail.com"
    1.12 +
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://code.google.com/p/gogglesmm/"
    1.15 +WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libfox xine-lib sqlite libtag libpng jpeg "
    1.18 +
    1.19 +# When compiling, it needs the main packages too.
    1.20 +BUILD_DEPENDS="libfox xine-lib sqlite libtag 
    1.21 +libfox-dev xine-lib-dev sqlite-dev libtag-dev "
    1.22 +
    1.23 +# Rules to configure and make the package. 
    1.24 +compile_rules()
    1.25 +{
    1.26 +	cd $src
    1.27 +	./configure \
    1.28 +		--prefix=/usr \
    1.29 +		--mandir=/usr/share/man \
    1.30 +		--infodir=/usr/share/info \
    1.31 +		$CONFIGURE_ARGS
    1.32 +	make
    1.33 +	make DESTDIR=$PWD/_pkg install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +# It does not use DESTDIR, and uses xgd...
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/bin $fs/usr/share/applications $fs/usr/share/pixmaps
    1.41 +	cp -a $src/src/$SOURCE $fs/usr/bin/gmm
    1.42 +
    1.43 +	cp -a $src/extra/*.desktop $fs/usr/share/applications
    1.44 +	cp -a $src/extra/*.png $fs/usr/share/pixmaps
    1.45 +}