milis/talimatname/genel/l/libmediainfo/talimat

36 lines
1006 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.

# Tanım: Mediainfo için paylaşılan kütüphane.
# URL: http://mediainfo.sourceforge.net/
# Paketçi: milisarge
# Gerekler: libmms libzen
# Grup: kütüphane
isim=libmediainfo
surum=0.7.69
devir=1
kaynak=( http://downloads.sourceforge.net/mediainfo/${isim}_${surum}.tar.bz2)
derle(){
cd $SRC/MediaInfoLib/Project/GNU/Library
sh ./autogen
./configure --prefix=/usr \
--enable-shared \
--disable-static \
--enable-visibility \
--with-libcurl \
--with-libmms
make
make DESTDIR=$PKG install
for i in MediaInfo MediaInfoDLL; do
install -dm755 $PKG/usr/include/$i
install -m644 $SRC/MediaInfoLib/Source/$i/*.h $PKG/usr/include/$i
done
install -dm755 $PKG/usr/lib/pkgconfig
install -m644 $SRC/MediaInfoLib/Project/GNU/Library/libmediainfo.pc \
$PKG/usr/lib/pkgconfig
sed -i -e 's|Version: |Version: '$surum'|g' \
$PKG/usr/lib/pkgconfig/libmediainfo.pc
}