blob: 18cf9723cfa0ea88db1ad147621d8da08389d633 (
plain)
1 # Description: shared library for libmediainfo and mediainfo
2 # URL: https://mediaarea.net/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on:
5
6 name=libzen
7 version=0.4.40
8 release=1
9 source=(https://mediaarea.net/download/source/libzen/$version/libzen_$version.tar.bz2)
10
11 build() {
12 cd ZenLib/Project/GNU/Library
13 ./autogen.sh
14 ./configure --prefix=/usr --enable-shared
15 make
16 make DESTDIR=$PKG install
17
18 install -dm 755 $PKG/usr/include/ZenLib
19 install -m 644 $SRC/ZenLib/Source/ZenLib/*.h $PKG/usr/include/ZenLib
20 for i in HTTP_Client Format/Html Format/Http; do
21 install -dm0755 $PKG/usr/include/ZenLib/$i
22 install -m0644 $SRC/ZenLib/Source/ZenLib/$i/*.h $PKG/usr/include/ZenLib/$i
23 done
24 install -dm 755 $PKG/usr/lib/pkgconfig
25 install -m 644 $SRC/ZenLib/Project/GNU/Library/libzen.pc $PKG/usr/lib/pkgconfig
26 sed -i -e 's|Version: $|Version: '$version'|g' $PKG/usr/lib/pkgconfig/libzen.pc
27 }
|