wok-next annotate libsndfile/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | 9736e603f8a1 |
children | 5841522533ec |
rev | line source |
---|---|
al@19793 | 1 # SliTaz package receipt v2. |
jozee@2659 | 2 |
jozee@2659 | 3 PACKAGE="libsndfile" |
al@19793 | 4 VERSION="1.0.27" |
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@15482 | 8 LICENSE="LGPL2.1" |
al@19793 | 9 WEB_SITE="http://www.mega-nerd.com/libsndfile/" |
al@19793 | 10 |
jozee@2659 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6179 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2659 | 13 |
al@19793 | 14 BUILD_DEPENDS="alsa-lib-dev libvorbis-dev flac-dev" |
al@19793 | 15 SPLIT="libsndfile-apps libsndfile-dev" |
pascal@15482 | 16 |
jozee@2659 | 17 # Rules to configure and make the package. |
jozee@2659 | 18 compile_rules() |
jozee@2659 | 19 { |
al@19793 | 20 ./configure \ |
al@19793 | 21 --disable-static \ |
al@19793 | 22 --docdir=/usr/share/doc/libsndfile-$VERSION \ |
al@19793 | 23 $CONFIGURE_ARGS && |
al@19793 | 24 make && make install |
jozee@2659 | 25 } |
jozee@2659 | 26 |
jozee@2659 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2659 | 28 genpkg_rules() |
jozee@2659 | 29 { |
al@19793 | 30 case $PACKAGE in |
al@19793 | 31 libsndfile) |
al@19793 | 32 copy *.so* |
al@19793 | 33 DEPENDS="flac libogg libvorbis" |
al@19793 | 34 ;; |
al@19793 | 35 *-apps) |
al@19793 | 36 copy bin/ |
al@19793 | 37 CAT="multimedia|applications" |
al@19793 | 38 DEPENDS="alsa-lib libsndfile" |
al@19793 | 39 ;; |
al@19793 | 40 *-dev) |
al@19793 | 41 copy @dev |
al@19793 | 42 DEPENDS="libsndfile libsndfile-apps flac-dev libogg-dev \ |
al@19793 | 43 libvorbis-dev" |
al@19793 | 44 ;; |
al@19793 | 45 esac |
jozee@2659 | 46 } |