wok-4.x annotate gtkpod/receipt @ rev 11022

Up: deadbeef to 0.5.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 06:26:33 2011 +0000 (2011-10-16)
parents da9438f1b67c
children b7319995b37e
rev   line source
jozee@2859 1 # SliTaz package receipt.
jozee@2859 2
jozee@2859 3 PACKAGE="gtkpod"
slaxemulator@6348 4 VERSION="1.0.0"
jozee@2859 5 CATEGORY="multimedia"
jozee@2859 6 SHORT_DESC="platform independent GUI for Apple's iPod using GTK2"
jozee@2859 7 MAINTAINER="jozee@slitaz.org"
pascal@2861 8 DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal"
slaxemulator@6348 9 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool libplist-dev"
jozee@2859 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2859 11 WEB_SITE="http://www.gtkpod.org/"
jozee@2859 12 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
jozee@2859 13
jozee@2859 14 # Rules to configure and make the package.
jozee@2859 15 compile_rules()
jozee@2859 16 {
jozee@2859 17 cd $src
jozee@2859 18 ./configure --prefix=/usr &&
pascal@2861 19 make &&
pascal@2861 20 make DESTDIR=$PWD/_pkg install
jozee@2859 21 }
jozee@2859 22
jozee@2859 23 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2859 24 genpkg_rules()
jozee@2859 25 {
jozee@2859 26 mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
jozee@2859 27 cp -a $_pkg/usr/bin $fs/usr
jozee@2859 28 cp -a $_pkg/usr/share/$PACKAGE/data $fs/usr/share/$PACKAGE
jozee@2859 29 cp -a $_pkg/usr/share/$PACKAGE/scripts $fs/usr/share/$PACKAGE
pascal@2861 30 cp -a $_pkg/usr/share/$PACKAGE/icons/hicolor/16x16 \
pascal@2861 31 $fs/usr/share/$PACKAGE/icons/hicolor
jozee@2859 32 cp $_pkg/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
jozee@2859 33 $fs/usr/share/pixmaps/gtkpod.png
jozee@2859 34 }