summaryrefslogtreecommitdiffstats
path: root/extra/faac/Pkgfile
blob: 95837cf33c8b7d7fa95a923991c0c93f2ad640eb (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
# Description: Encoder MPEG-4 de AudioCoding.com
# URL: http://www.audiocoding.com
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: faad2, libmp4v2 
# Run on: faad2,libmp4v2

name=faac
version=1.26
release=1
source=(http://heanet.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)


build() {
	cd $name
	find . -type f -print0 | xargs -0 sed -i 's/\r//g'
	chmod +x bootstrap
	sh bootstrap
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--with-mp4v2
	make
	make DESTDIR=$PKG install
}