aboutsummaryrefslogtreecommitdiffstats
path: root/main/rlog
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-07 09:07:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-07 09:08:25 +0000
commit43e3de7667edd46d5b5448c9c93d304f94e7603d (patch)
treecd901411f71f30f3e9fbb6dd6272e2afef4bbc32 /main/rlog
parent1b8dc7c88d83530ed99c1a05b4473cab94d5f1a2 (diff)
downloadaports-43e3de7667edd46d5b5448c9c93d304f94e7603d.tar.bz2
aports-43e3de7667edd46d5b5448c9c93d304f94e7603d.tar.xz
main/rlog: move from testing, claim maintainership
Diffstat (limited to 'main/rlog')
-rw-r--r--main/rlog/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/rlog/APKBUILD b/main/rlog/APKBUILD
new file mode 100644
index 0000000000..f1f999d148
--- /dev/null
+++ b/main/rlog/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: ScrumpyJack <scrumpyjack@me.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=rlog
+pkgver=1.4
+pkgrel=3
+pkgdesc="A flexible message logging facility for C++ programs and libraries."
+url="http://www.arg0.net/rlog"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://rlog.googlecode.com/files/${pkgname}-${pkgver}.tar.gz"
+
+_builddir=${srcdir}/${pkgname}-${pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ update_config_sub || return 1
+ 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 \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="${pkgdir}/" install
+ find ${pkgdir} -type f -name "*.la" -exec rm {} \;
+}
+
+md5sums="c29f74e0f50d66b20312d049b683ff82 rlog-1.4.tar.gz"
+sha256sums="a938eeedeb4d56f1343dc5561bc09ae70b24e8f70d07a6f8d4b6eed32e783f79 rlog-1.4.tar.gz"
+sha512sums="a0af9afd6c5329ec4269a7778c3236b9e0b438cba65ed0a6f9cd7e802d196b7908eed5ab663f52905869cacffc7f1964b20ab2a53b37dbe65f1c8a9226cc423e rlog-1.4.tar.gz"