wok-next view faac/receipt @ rev 20569
Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 07:14:16 2018 +0300 (2018-04-13) |
parents | 0e8dadf052b9 |
children | 690e7cc036d5 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="faac"
4 VERSION="1.28"
5 CATEGORY="multimedia"
6 SHORT_DESC="Open source MPEG-4 and MPEG-2 AAC encoder"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.audiocoding.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/faac.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/faac/$TARBALL"
15 SPLIT="faac-dev"
17 compile_rules() {
18 sed -i '/obj-type/d; /Long Term/d' frontend/main.c
20 CFLAGS=-std=c99 CXXFLAGS=-std=c++98 \
21 ./configure \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 faac) copy @std; TAGS="mp4 mpeg encoder";;
32 *-dev) copy @dev;;
33 esac
34 }