milis/talimatname/genel/libmpeg2/talimat

21 lines
551 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: MPEG-1 ve MPEG-2 video akışlarını çözmek için kullanılan kitaplık
# URL: http://mpg123.de/
# Packager: milisarge
# 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
}