summaryrefslogtreecommitdiffstats
path: root/extra/xvid/Pkgfile
blob: 32da9ce85c4c2352fc8b4cfe753a0c61c00ac248 (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: Codec video MPEG-4
# URL: http://www.xvid.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: nasm
# Run on:

name=xvid
version=1.2.2
release=1
source=(http://kiao.no-ip.info/sources/xvidcore-$version.tar.gz)


build() {
	cd xvidcore/build/generic
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	chmod -v 755 $PKG/usr/lib/libxvidcore.so.4.2
	ln -v -sf libxvidcore.so.4.2 $PKG/usr/lib/libxvidcore.so.4
	ln -v -sf libxvidcore.so.4   $PKG/usr/lib/libxvidcore.so
}