wok-next view soundtouch/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
parents | a7b1395df64a |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="soundtouch"
4 VERSION="1.5.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="An audio processing library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.surina.net/soundtouch/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 BUILD_DEPENDS="libtool automake autoconf"
15 SPLIT="soundtouch-dev"
17 compile_rules() {
18 ./bootstrap
19 sed -i 's|/doc/|/share&|' Makefile*
20 patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch
22 ./configure \
23 --enable-shared \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install || return 1
28 # Upstream changed pkgconfig filename
29 ln -sf soundtouch-1.4.pc $install/usr/lib/pkgconfig/soundtouch-1.0.pc
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 soundtouch) copy @std;;
35 *-dev) copy @dev;;
36 esac
37 }