2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Libmediainfo ve mediainfo için paylaşılan kütüphane
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://mediainfo.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-04-04 09:26:49 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=libzen
|
|
|
|
|
surum=0.4.31
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(
|
|
|
|
|
http://downloads.sourceforge.net/zenlib/${isim}_${surum}.tar.bz2)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle(){
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
2017-10-28 14:10:23 +02:00
|
|
|
|
sed -i -e 's|Version: |Version: '$surum'|g' \
|
2016-02-24 01:27:23 +01:00
|
|
|
|
$PKG/usr/lib/pkgconfig/libzen.pc
|
|
|
|
|
}
|