1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
6 pkgdesc="A C++ port of Log4j"
7 url="http://logging.apache.org/log4cxx"
9 depends=('apr-util' 'libxml2')
11 makedepends=('cmake' 'patch' 'zip' 'gzip' 'sed')
12 conflicts=('log4cxx-svn')
13 source=("http://archive.apache.org/dist/logging/$pkgname/$pkgver/apache-$pkgname-$pkgver.tar.gz")
14 sha512sums=('a6b928d7b5b4fb60a67504be082f436a6d1a750b752a89df51d0660670b6c008e7376cf56c1749fd5fc17777ae8a2d957f72879c9a89487ecb0f179999dc1283')
17 cd "$srcdir/apache-$pkgname-$pkgver"
20 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_AVCODEC=1 -DWITH_FFMPEGTHUMBNAILER=1 ..
25 cd "$srcdir/apache-$pkgname-$pkgver/build"
26 make DESTDIR="$pkgdir/" install