milis/talimatname/genel/l/libzen/talimat

36 lines
1010 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: Libmediainfo ve mediainfo için paylaşılan kütüphane
# URL: http://mediainfo.sourceforge.net/
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
isim=libzen
surum=0.4.31
devir=1
kaynak=(
http://downloads.sourceforge.net/zenlib/${isim}_${surum}.tar.bz2)
derle(){
cd $SRC/ZenLib/Project/GNU/Library
sh ./autogen
./configure --prefix=/usr \
--enable-shared
make clean
make
make DESTDIR=$PKG install
install -dm755 $PKG/usr/include/ZenLib
install -m644 $SRC/ZenLib/Source/ZenLib/*.h $PKG/usr/include/ZenLib
for i in HTTP_Client Format/Html Format/Http; do
install -dm0755 $PKG/usr/include/ZenLib/$i
install -m0644 $SRC/ZenLib/Source/ZenLib/$i/*.h \
$PKG/usr/include/ZenLib/$i
done
install -dm755 $PKG/usr/lib/pkgconfig
install -m644 $SRC/ZenLib/Project/GNU/Library/libzen.pc \
$PKG/usr/lib/pkgconfig
sed -i -e 's|Version: |Version: '$surum'|g' \
$PKG/usr/lib/pkgconfig/libzen.pc
}