updated on Fri Jan 6 08:01:17 UTC 2012
[aur-mirror.git] / log4net / PKGBUILD
blob720473793e9e142b0a0bb475cd970aff47456002
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Frane Bandov <frane@offbyte.com>
3 # Contributor: Thijs Vermeir <thijsvermeir@gmail.com>
5 pkgname=log4net
6 pkgver=1.2.11
7 pkgrel=1
8 pkgdesc="A tool to help the programmer output log statements to a variety of output targets"
9 arch=('any')
10 url="http://logging.apache.org/log4net/"
11 license=('APACHE')
12 depends=('mono')
13 source=(http://www.apache.org/dist/logging/$pkgname/source/$pkgname-$pkgver-src.zip
14         $pkgname.pc)
15 md5sums=('64f9ba6cfb76ee5c7fa5c9c247c30203'
16          '4e8f14ac075fcaaf642df5d11fcf2193')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   mkdir bin
22   gmcs -t:library -out:bin/$pkgname.dll -keyfile:$pkgname.snk \
23        -r:System,System.Data,System.Xml,System.Web \
24        $(find src -name "*.cs")
27 package() {
28   cd "$srcdir/$pkgname-$pkgver"
30   gacutil -i bin/$pkgname.dll -package $pkgname -root "$pkgdir/usr/lib/"
31   install -Dm644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc"