wok-next annotate faac/receipt @ rev 20188

collectd-apache: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 20:48:23 2017 +0100 (2017-11-02)
parents fcdd50638150
children 835b3b8ce6ac
rev   line source
al@19816 1 # SliTaz package receipt v2.
paul@3856 2
paul@3856 3 PACKAGE="faac"
paul@3856 4 VERSION="1.28"
paul@3856 5 CATEGORY="multimedia"
al@19816 6 SHORT_DESC="Open source MPEG-4 and MPEG-2 AAC encoder"
paul@3856 7 MAINTAINER="paul@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
al@19816 9 WEB_SITE="http://www.audiocoding.com/"
al@19816 10
al@19816 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
paul@3856 12 WGET_URL="$SF_MIRROR/faac/$TARBALL"
paul@3856 13
al@19816 14 SPLIT="faac-dev"
pascal@15588 15
paul@3856 16 # Rules to configure and make the package.
paul@3856 17 compile_rules()
paul@3856 18 {
al@19816 19 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/faac.html
al@19816 20 sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c &&
al@19816 21
al@19816 22 CFLAGS=-std=c99 CXXFLAGS=-std=c++98 \
paul@3856 23 ./configure \
al@19816 24 --disable-static \
paul@3856 25 $CONFIGURE_ARGS &&
al@19816 26 make && make install
paul@3856 27 }
paul@3856 28
paul@3856 29 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3856 30 genpkg_rules()
paul@3856 31 {
al@19816 32 case $PACKAGE in
al@19816 33 faac) copy @std; TAGS="mp4 mpeg encoder";;
al@19816 34 *-dev) copy @dev;;
al@19816 35 esac
paul@3856 36 }