wok-next view faac/receipt @ rev 19978
Receipts v2: xmlrpc-c, yaml, zeromq.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:15:00 2017 +0300 (2017-10-18) |
parents | fcdd50638150 |
children | 835b3b8ce6ac |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/faac/$TARBALL"
14 SPLIT="faac-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/faac.html
20 sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c &&
22 CFLAGS=-std=c99 CXXFLAGS=-std=c++98 \
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 faac) copy @std; TAGS="mp4 mpeg encoder";;
34 *-dev) copy @dev;;
35 esac
36 }