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

eduke32: download data into SOURCES_REPOSITORY
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 12 09:33:05 2010 +0200 (2010-07-12)
parents 7cef8fc27566
children 16418229683b
rev   line source
jozee@2859 1 # SliTaz package receipt.
jozee@2859 2
jozee@2859 3 PACKAGE="gtkpod"
slaxemulator@5414 4 VERSION="0.99.16"
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@5414 9 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool"
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 }