archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / log4cxx / trunk / PKGBUILD
blobf60cfe1a3e08947544325e35e7b9e32cef0034b9
1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
3 pkgname=log4cxx
4 pkgver=1.0.0
5 pkgrel=1
6 pkgdesc="A C++ port of Log4j"
7 url="http://logging.apache.org/log4cxx"
8 license=("Apache")
9 depends=('apr-util' 'libxml2')
10 arch=('x86_64')
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')
16 build() {
17   cd "$srcdir/apache-$pkgname-$pkgver"
18   mkdir -p build
19   cd build
20   cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_AVCODEC=1 -DWITH_FFMPEGTHUMBNAILER=1 ..
21   make
24 package() {
25   cd "$srcdir/apache-$pkgname-$pkgver/build"
26   make DESTDIR="$pkgdir/" install