summaryrefslogtreecommitdiffstats
path: root/xvid/Pkgfile
blob: de90a7a30943db211383b7a263c0273cc0f12f49 (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: nasm

name=xvid
version=1.3.2
release=1
source=(http://downloads.xvid.org/downloads/xvidcore-$version.tar.bz2)


build() {
	cd xvidcore/build/generic
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install

	cd $PKG/usr/lib
	lib=$(basename libxvidcore.so.*)
	ln -sf $lib libxvidcore.so.4
	ln -sf $lib libxvidcore.so
	chmod -v 755 libxvidcore.so*
}