summaryrefslogtreecommitdiffstats
path: root/faac/Pkgfile
blob: 42855e5117984192a9fd2fa6b2f9913db1ee8799 (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.28
release=1
source=(http://heanet.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)


build() {
	cd $name-$version
	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
}