wok-next annotate soundtouch/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents 10df65db91ad
children d5aab818505e
rev   line source
al@20459 1 # SliTaz package receipt v2.
slaxemulator@13102 2
slaxemulator@13102 3 PACKAGE="soundtouch"
slaxemulator@13102 4 VERSION="1.5.0"
slaxemulator@13102 5 CATEGORY="multimedia"
slaxemulator@13102 6 SHORT_DESC="An audio processing library"
slaxemulator@13102 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15590 8 LICENSE="LGPL2.1"
slaxemulator@13102 9 WEB_SITE="http://www.surina.net/soundtouch/"
al@20459 10
slaxemulator@13102 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@13102 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@15590 13
pascal@19964 14 BUILD_DEPENDS="libtool automake autoconf"
al@20459 15 SPLIT="soundtouch-dev"
slaxemulator@13102 16
al@20459 17 compile_rules() {
pascal@19964 18 ./bootstrap
pascal@19294 19 sed -i 's|/doc/|/share&|' Makefile*
al@20557 20
al@20557 21 ./configure \
al@20557 22 --enable-shared \
al@20557 23 $CONFIGURE_ARGS &&
al@20604 24 fix libtool &&
al@20557 25 make &&
al@20557 26 make install || return 1
al@20557 27
al@20557 28 # Upstream changed pkgconfig filename
al@20557 29 ln -sf soundtouch-1.4.pc $install/usr/lib/pkgconfig/soundtouch-1.0.pc
slaxemulator@13102 30 }
slaxemulator@13102 31
al@20459 32 genpkg_rules() {
al@20459 33 case $PACKAGE in
al@20557 34 soundtouch) copy @std;;
al@20557 35 *-dev) copy @dev;;
al@20459 36 esac
slaxemulator@13102 37 }