summaryrefslogtreecommitdiff
path: root/pcr/log4c
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-01 10:33:25 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-01 10:33:25 -0500
commit85d52632b8388ccd17281307f59b2d8a9e3b71d7 (patch)
tree37f4e2e076afec5cc639383e9b6ac23463f9ce26 /pcr/log4c
parent2678207ebe3f8e58de53c984e89e32af9716929b (diff)
downloadabslibre-85d52632b8388ccd17281307f59b2d8a9e3b71d7.tar.gz
abslibre-85d52632b8388ccd17281307f59b2d8a9e3b71d7.tar.bz2
abslibre-85d52632b8388ccd17281307f59b2d8a9e3b71d7.zip
log4c-1.2.4-1: updating version
Diffstat (limited to 'pcr/log4c')
-rw-r--r--pcr/log4c/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/pcr/log4c/PKGBUILD b/pcr/log4c/PKGBUILD
index 3fcd1ee30..b351eb717 100644
--- a/pcr/log4c/PKGBUILD
+++ b/pcr/log4c/PKGBUILD
@@ -1,22 +1,28 @@
+# Contributor (Arch): Arthur Țițeică arthur.titeica/gmail/com
# Contributor (Arch): rockerzz <rockerzz@gmail.com>
-#
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+
pkgname=log4c
-pkgver=1.2.1
+pkgver=1.2.4
pkgrel=1
pkgdesc="Logging FrameWork for C, as Log4j or Log4Cpp"
url="http://log4c.sourceforge.net/"
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
license="LGPL"
-depends=('gcc-libs')
-makedepends=( 'bash' 'make' 'gcc' )
+depends=('expat')
source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('ca5412b7515d8901714ab7892323adb6')
+sha256sums=('5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea')
options=('!libtool')
build() {
- cd $startdir/src/log4c-$pkgver
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/log4c
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
}