milis/talimatname/genel/libmad/talimat

30 lines
799 B
Plaintext
Raw Normal View History

2017-03-31 08:20:44 +02:00
# Description: Yüksek kaliteli bir MPEG ses dekoderi
2016-02-24 01:27:23 +01:00
# URL: http://www.underbit.com/products/mad/
2016-11-02 00:14:32 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on:
name=libmad
version=0.15.1b
2016-11-02 00:14:32 +01:00
release=2
2016-02-24 01:27:23 +01:00
source=(ftp://ftp.mars.org/pub/mpeg/$name-$version.tar.gz\
2016-11-02 00:14:32 +01:00
http://www.linuxfromscratch.org/patches/blfs/svn/libmad-$version-fixes-1.patch
mad.pc)
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
patch -Np1 -i ../libmad-$version-fixes-1.patch
sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac
touch NEWS AUTHORS ChangeLog
autoreconf -fi
./configure --prefix=/usr --disable-static
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/lib/pkgconfig
2016-11-02 00:14:32 +01:00
install -Dm644 $SRC/mad.pc $PKG/usr/lib/pkgconfig/mad.pc
2016-02-24 01:27:23 +01:00
sed -i "s/#version#/$version/" $PKG/usr/lib/pkgconfig/mad.pc
}