wok-current annotate libsndfile/receipt @ rev 13571

lxde: Add local root variable to post_install and post_remove scripts so tazpkg --root will work with it.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 04 09:14:01 2012 +0000 (2012-11-04)
parents cdafe774a067
children 8d6f480bf664
rev   line source
jozee@2659 1 # SliTaz package receipt.
jozee@2659 2
jozee@2659 3 PACKAGE="libsndfile"
slaxemulator@6705 4 VERSION="1.0.23"
jozee@2659 5 CATEGORY="multimedia"
jozee@2659 6 SHORT_DESC="A C library for reading and writing files containing sampled sound"
jozee@2659 7 MAINTAINER="jozee@slitaz.org"
pascal@2845 8 DEPENDS="alsa-lib flac libvorbis"
slaxemulator@6179 9 BUILD_DEPENDS="alsa-lib alsa-lib-dev flac-dev"
jozee@2659 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2659 11 WEB_SITE="http://www.mega-nerd.com/libsndfile/"
slaxemulator@6179 12 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@2659 13
jozee@2659 14 # Rules to configure and make the package.
jozee@2659 15 compile_rules()
jozee@2659 16 {
jozee@2659 17 cd $src
slaxemulator@6179 18 ./configure --prefix=/usr --disable-sqlite $CONFIGURE_ARGS &&
pascal@2667 19 make &&
jozee@2659 20 make DESTDIR=$PWD/_pkg install
jozee@2659 21 }
jozee@2659 22
jozee@2659 23 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2659 24 genpkg_rules()
jozee@2659 25 {
jozee@2659 26 mkdir -p $fs/usr/lib
jozee@2659 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2659 28
jozee@2659 29 }