wok-next annotate aubio/receipt @ rev 19269
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 14:47:05 2016 +0300 (2016-07-04) |
parents | 17e313b5b9c1 |
children | 11b5e93cb5f2 |
rev | line source |
---|---|
jozee@6822 | 1 # SliTaz package receipt. |
jozee@6822 | 2 |
jozee@6822 | 3 PACKAGE="aubio" |
jozee@6822 | 4 VERSION="0.3.2" |
jozee@6822 | 5 CATEGORY="multimedia" |
jozee@6822 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 7 LICENSE="GPL2" |
jozee@6822 | 8 SHORT_DESC="A library for audio labelling" |
jozee@6822 | 9 WEB_SITE="http://aubio.piem.org/" |
jozee@6822 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6822 | 11 WGET_URL="$WEB_SITE/pub/$TARBALL" |
jozee@6822 | 12 TAGS="audio label multimedia" |
jozee@6822 | 13 |
slaxemulator@10276 | 14 DEPENDS="libsamplerate fftw jack-audio-connection-kit flac libogg \ |
slaxemulator@10276 | 15 libvorbis" |
slaxemulator@10276 | 16 BUILD_DEPENDS="libsamplerate-dev jack-audio-connection-kit-dev \ |
slaxemulator@10276 | 17 fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev \ |
slaxemulator@10276 | 18 libvorbis-dev" |
slaxemulator@10276 | 19 |
jozee@6822 | 20 # Rules to configure and make the package. |
slaxemulator@13105 | 21 compile_rules() |
slaxemulator@13105 | 22 { |
pascal@17670 | 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" |
slaxemulator@13105 | 24 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@13105 | 25 make -j1 && |
slaxemulator@13105 | 26 make -j1 install |
al@19269 | 27 |
al@19269 | 28 mkdir -p $install/usr/share/man/man1 |
al@19269 | 29 cp -a $src/doc/*.1 $install/usr/share/man/man1 |
al@19269 | 30 cook_compress_manpages |
jozee@6822 | 31 } |
al@19269 | 32 |
jozee@6822 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6822 | 34 genpkg_rules() |
jozee@6822 | 35 { |
al@19269 | 36 mkdir -p $fs/usr/lib |
pascal@15000 | 37 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 38 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
pascal@15000 | 39 cp -a $install/usr/share $fs/usr |
jozee@6822 | 40 } |