wok-current annotate libao/receipt @ rev 15893
libao: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:32 2014 +0100 (2014-02-12) |
parents | 4904e3d374a9 |
children | e1ee172acb7b |
rev | line source |
---|---|
jozee@2661 | 1 # SliTaz package receipt. |
jozee@2661 | 2 |
jozee@2661 | 3 PACKAGE="libao" |
paul@13183 | 4 VERSION="1.1.0" |
jozee@2661 | 5 CATEGORY="multimedia" |
jozee@2661 | 6 SHORT_DESC="Cross-platform audio output library and plugins" |
jozee@2661 | 7 MAINTAINER="rj.rohit@gmail.com" |
pascal@14714 | 8 LICENSE="GPL2" |
jozee@2661 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2661 | 10 WEB_SITE="http://downloads.xiph.org/releases/ao/" |
jozee@2661 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2661 | 12 |
pascal@14714 | 13 DEPENDS="glibc-base alsa-lib" |
pascal@14714 | 14 BUILD_DEPENDS="alsa-lib-dev" |
pascal@14714 | 15 |
jozee@2661 | 16 # Rules to configure and make the package. |
jozee@2661 | 17 compile_rules() |
jozee@2661 | 18 { |
jozee@2661 | 19 cd $src |
gokhlayeh@11573 | 20 ./configure --prefix=/usr --enable-alsa09 --disable-arts \ |
gokhlayeh@11573 | 21 $CONFIGURE_ARGS && |
gokhlayeh@11573 | 22 make && |
pascal@14714 | 23 make DESTDIR=$DESTDIR install |
jozee@2661 | 24 } |
jozee@2661 | 25 |
jozee@2661 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2661 | 27 genpkg_rules() |
jozee@2661 | 28 { |
pankso@15893 | 29 mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc |
pankso@15893 | 30 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4 |
pascal@14714 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2661 | 32 |
jozee@2661 | 33 # Add conf file |
pankso@15893 | 34 cp -a $stuff/libao.conf $fs/etc/ |
jozee@2661 | 35 |
jozee@2661 | 36 } |