wok annotate libgpod/receipt @ rev 13160
slitaz-boot-scripts: use chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 25 18:28:25 2012 +0200 (2012-07-25) |
parents | b7319995b37e |
children | 4904e3d374a9 |
rev | line source |
---|---|
jozee@2858 | 1 # SliTaz package receipt. |
jozee@2858 | 2 |
jozee@2858 | 3 PACKAGE="libgpod" |
slaxemulator@6348 | 4 VERSION="0.7.94" |
jozee@2858 | 5 CATEGORY="multimedia" |
jozee@2858 | 6 SHORT_DESC="a shared library to access the contents of an iPod" |
jozee@2858 | 7 MAINTAINER="jozee@slitaz.org" |
slaxemulator@6348 | 8 DEPENDS="gtk+ mutagen libxml2 sqlite libplist zlib" |
pascal@11580 | 9 BUILD_DEPENDS="$DEPENDS intltool pygobject libxml2-dev pkg-config sqlite-dev \ |
pascal@11580 | 10 glib-dev libplist-dev zlib-dev libffi" |
jozee@2858 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2858 | 12 WEB_SITE="http://www.gtkpod.org/libgpod.html" |
jozee@2858 | 13 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL" |
jozee@2858 | 14 |
jozee@2858 | 15 # Rules to configure and make the package. |
jozee@2858 | 16 compile_rules() |
jozee@2858 | 17 { |
jozee@2858 | 18 cd $src |
gokhlayeh@11573 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@6348 | 20 make PREFIX=/usr && |
slaxemulator@6348 | 21 make PREFIX=/usr DESTDIR=$PWD/_pkg install |
jozee@2858 | 22 } |
jozee@2858 | 23 |
jozee@2858 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2858 | 25 genpkg_rules() |
jozee@2858 | 26 { |
jozee@2858 | 27 mkdir -p $fs/usr/lib |
jozee@2858 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
jozee@2858 | 29 } |