Commit 0658984b authored by J0WI's avatar J0WI
Browse files

main/rlog: modernize

parent 39ba4fae
Pipeline #87174 failed with stages
in 1 minute and 49 seconds
......@@ -2,43 +2,28 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rlog
pkgver=1.4
pkgrel=4
pkgrel=5
pkgdesc="A flexible message logging facility for C++ programs and libraries."
url="http://www.arg0.net/rlog"
url="https://www.arg0.net/rlog"
arch="all"
license="LGPL"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc $pkgname-dev"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rlog/rlog-$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
--prefix=/usr
make
}
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}/" install
make DESTDIR="$pkgdir/" install
}
sha512sums="a0af9afd6c5329ec4269a7778c3236b9e0b438cba65ed0a6f9cd7e802d196b7908eed5ab663f52905869cacffc7f1964b20ab2a53b37dbe65f1c8a9226cc423e rlog-1.4.tar.gz"
sha512sums="
a0af9afd6c5329ec4269a7778c3236b9e0b438cba65ed0a6f9cd7e802d196b7908eed5ab663f52905869cacffc7f1964b20ab2a53b37dbe65f1c8a9226cc423e rlog-1.4.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment