milis/talimatname/genel/libmpeg2/talimat

21 lines
543 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Library for decoding MPEG-1 and MPEG-2 video streams
# URL: http://mpg123.de/
# Packager: pierre at nutyx dot org
# Depends on:
name=libmpeg2
version=0.5.1
release=1
source=( http://$name.sourceforge.net/files/$name-$version.tar.gz)
build() {
cd $name-$version
sed -i 's/static const/static/' libmpeg2/idct_mmx.c
./configure --prefix=/usr --enable-shared
make
make DESTDIR=$PKG install
install -v -m755 -d $PKG/usr/share/doc/mpeg2dec-$version
install -v -m644 README doc/libmpeg2.txt \
$PKG/usr/share/doc/mpeg2dec-$version
}