blob: 6660ab2e7da38cea05b76c81309e0bab4b7b9e58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=faad2
pkgver=2.7
pkgrel=8
pkgdesc="ISO AAC audio decoder"
url="http://www.audiocoding.com/"
arch="all"
options="!check" # No test suite.
license="GPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="autoconf automake libtool"
source="http://downloads.sourceforge.net/sourceforge/faac/$pkgname-$pkgver.tar.bz2
automake.patch"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
}
build() {
cd "$builddir"
# manfile has bad name
mv frontend/faad.man frontend/faad.1 && \
sed -i -e 's:faad\.man:faad.1:' frontend/Makefile.am
sh bootstrap
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -m644 common/mp4ff/mp4ff_int_types.h "$pkgdir"/usr/include/mp4ff_int_types.h
}
sha512sums="0934aa9b752b5d86879d94156dea02595e2428340d0cf44202ffea369895b21a9aadbb4833a39212c9a79429b409eb108706b1f523bfddd32809b53730d50947 faad2-2.7.tar.bz2
0b66cfa240529a2139b47cb8dc87c4b43a451b906d66ef7d211fb509358b1493ceee13894516c2f552b33eae74640910e97957caa49dade2597ebd9777152a9e automake.patch"
|