wok rev 2859

Add: gtkpod
author Rohit Joshi <jozee@slitaz.org>
date Fri May 01 16:08:15 2009 +0000 (2009-05-01)
parents 3466efd86b61
children 10764785c368
files gtkpod/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtkpod/receipt	Fri May 01 16:08:15 2009 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtkpod"
     1.7 +VERSION="0.99.14"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="platform independent GUI for Apple's iPod using GTK2"
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +DEPENDS="libgpod libid3tag flac libvorbis curl libglade"
    1.12 +BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.gtkpod.org/"
    1.15 +WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr &&
    1.22 +    make &&
    1.23 +    make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
    1.30 +	cp -a $_pkg/usr/bin $fs/usr
    1.31 +	cp -a $_pkg/usr/share/$PACKAGE/data  $fs/usr/share/$PACKAGE 
    1.32 +	cp -a $_pkg/usr/share/$PACKAGE/scripts  $fs/usr/share/$PACKAGE 
    1.33 +	cp -a $_pkg/usr/share/$PACKAGE/icons/hicolor/16x16 $fs/usr/share/$PACKAGE/icons/hicolor
    1.34 +	cp $_pkg/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
    1.35 +		$fs/usr/share/pixmaps/gtkpod.png
    1.36 +}