wok annotate gtkpod/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents b7319995b37e
children e3f377fbc5f0
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"
jozee@2859 10 WEB_SITE="http://www.gtkpod.org/"
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 }