wok-next view soundtouch/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 9e5dca6702bf |
children | d6378d455338 |
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 fix libtool &&
26 make &&
27 make install || return 1
29 # Upstream changed pkgconfig filename
30 ln -sf soundtouch-1.4.pc $install/usr/lib/pkgconfig/soundtouch-1.0.pc
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 soundtouch) copy @std;;
36 *-dev) copy @dev;;
37 esac
38 }