diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-03 06:10:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-03 06:10:26 +0000 |
commit | efb895ec4aadba6d76f3679c75e784a19e8422fb (patch) | |
tree | 6200d78ddb61c8adff4fcad6dcc42ebd4137a7e6 /main/liblogging | |
parent | db344855fd58b2e4d429da927356a247106fb07b (diff) | |
download | aports-efb895ec4aadba6d76f3679c75e784a19e8422fb.tar.bz2 aports-efb895ec4aadba6d76f3679c75e784a19e8422fb.tar.xz |
main/liblogging: new aport
An easy to use logging library
http://www.liblogging.org/
needed by rsyslog
Diffstat (limited to 'main/liblogging')
-rw-r--r-- | main/liblogging/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/main/liblogging/APKBUILD b/main/liblogging/APKBUILD new file mode 100644 index 0000000000..44ba5a7fb2 --- /dev/null +++ b/main/liblogging/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: +pkgname=liblogging +pkgver=1.0.4 +pkgrel=0 +pkgdesc="An easy to use logging library" +url="http://www.liblogging.org/" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.rsyslog.com/liblogging/liblogging-$pkgver.tar.gz" + +_builddir="$srcdir"/liblogging-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-journal \ + --enable-stdlog \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="034083ef1424a566fdeefc56a719691f liblogging-1.0.4.tar.gz" +sha256sums="aceb5d2aa8bdc771ff66f407f9adf4176b654db63e34a8605795b68be537b81c liblogging-1.0.4.tar.gz" +sha512sums="7d57a4d5d41ab2033dd57370c4511749f7965949a30eacaf36e7608acc64a32c42903dc1b5bb50c649dcb9a5ed91a2f0339d21aa0fc20a6a6144616dae556ccf liblogging-1.0.4.tar.gz" |