summaryrefslogtreecommitdiffstats
path: root/extra/faac/Pkgfile
blob: 4d5d3cec34659f726de46111f1e72727f2d024f0 (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:

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
}