wok annotate gtkpod/receipt @ rev 23761

Up linux-cloop (4.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 04 09:05:12 2020 +0000 (2020-05-04)
parents d1c17bd2c2bc
children 932cd974e081
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@15589 8 LICENSE="GPL2"
jozee@2859 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20673 10 WEB_SITE="http://www.gtkpod.org/wiki/Home"
jozee@2859 11 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
jozee@2859 12
pascal@15589 13 DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal"
pascal@15589 14 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool libplist-dev"
pascal@15589 15
jozee@2859 16 # Rules to configure and make the package.
jozee@2859 17 compile_rules()
jozee@2859 18 {
jozee@2859 19 cd $src
gokhlayeh@11573 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2861 21 make &&
pascal@15589 22 make DESTDIR=$DESTDIR install
jozee@2859 23 }
jozee@2859 24
jozee@2859 25 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2859 26 genpkg_rules()
jozee@2859 27 {
jozee@2859 28 mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
pascal@15589 29 cp -a $install/usr/bin $fs/usr
pascal@15589 30 cp -a $install/usr/share/$PACKAGE/data $fs/usr/share/$PACKAGE
pascal@15589 31 cp -a $install/usr/share/$PACKAGE/scripts $fs/usr/share/$PACKAGE
pascal@15589 32 cp -a $install/usr/share/$PACKAGE/icons/hicolor/16x16 \
pascal@2861 33 $fs/usr/share/$PACKAGE/icons/hicolor
pascal@15589 34 cp $install/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
jozee@2859 35 $fs/usr/share/pixmaps/gtkpod.png
jozee@2859 36 }