From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/libzen/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 community/libzen/PKGBUILD (limited to 'community/libzen') diff --git a/community/libzen/PKGBUILD b/community/libzen/PKGBUILD new file mode 100644 index 000000000..9f18d8ffa --- /dev/null +++ b/community/libzen/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 41750 2011-03-08 20:15:27Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: hydro + +pkgname=libzen +pkgver=0.4.18 +pkgrel=1 +pkgdesc="shared library for libmediainfo and mediainfo" +arch=('i686' 'x86_64') +url="http://mediainfo.sourceforge.net" +license=('BSD') +depends=('gcc-libs') +makedepends=('libtool' 'automake' 'autoconf') +options=('!libtool') +source=(http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2) +md5sums=('418fd69a3351cd406bfb2afe0ce91628') + +build() { + cd $srcdir/ZenLib/Project/GNU/Library + + sh ./autogen + ./configure --prefix=/usr --enable-shared + make clean + make + make DESTDIR=$pkgdir install + + install -dm 755 $pkgdir/usr/include/ZenLib + install -m 644 $srcdir/ZenLib/Source/ZenLib/*.h $pkgdir/usr/include/ZenLib + + for i in Base64 HTTP_Client Format/Html Format/Http TinyXml; do + install -dm 755 $pkgdir/usr/include/ZenLib/$i + install -m 644 $srcdir/ZenLib/Source/ZenLib/$i/*.h $pkgdir/usr/include/ZenLib/$i + done + + install -dm 755 $pkgdir/usr/lib/pkgconfig + install -m 644 $srcdir/ZenLib/Project/GNU/Library/libzen.pc $pkgdir/usr/lib/pkgconfig + sed -i -e 's|Version: |Version: '$pkgver'|g' $pkgdir/usr/lib/pkgconfig/libzen.pc + + install -D -m 644 $srcdir/ZenLib/License.txt $pkgdir/usr/share/licenses/libzen/License.txt +} -- cgit v1.2.3-54-g00ecf