aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-05-03 00:17:56 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-03 15:02:21 +0000
commit7840de8298563329ee41f419a2474d36b85e22b7 (patch)
tree1eeef16f2208a8bca21a9eee34487cde4535e48a /main
parent9851d3d1c95aa9814cddecf0325fb778782b9502 (diff)
downloadaports-7840de8298563329ee41f419a2474d36b85e22b7.tar.bz2
aports-7840de8298563329ee41f419a2474d36b85e22b7.tar.xz
main/liblogging: tarball is not available anymore, build from source
Diffstat (limited to 'main')
-rw-r--r--main/liblogging/APKBUILD29
1 files changed, 11 insertions, 18 deletions
diff --git a/main/liblogging/APKBUILD b/main/liblogging/APKBUILD
index 408fad6c9a..597dbdbf2c 100644
--- a/main/liblogging/APKBUILD
+++ b/main/liblogging/APKBUILD
@@ -2,31 +2,24 @@
# Maintainer:
pkgname=liblogging
pkgver=1.0.5
-pkgrel=0
+pkgrel=1
pkgdesc="An easy to use logging library"
url="http://www.liblogging.org/"
arch="all"
license="BSD"
depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
+makedepends="autoconf automake libtool py-docutils"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://download.rsyslog.com/liblogging/liblogging-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/rsyslog/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
-_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
+ cd "$builddir"
+ autoreconf -fvi
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -42,10 +35,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="44b8ce2daa1bfb84c9feaf42f9925fd7 liblogging-1.0.5.tar.gz"
-sha256sums="310dc1691279b7a669d383581fe4b0babdc7bf75c9b54a24e51e60428624890b liblogging-1.0.5.tar.gz"
-sha512sums="fd0c89b670bdf4d257d6a31b18b44940ba2edae84633ead6577f164e1ded93709445c35027a28f6e7fda4c984964c3446978eaf0abf843e31ecc11b979e2adde liblogging-1.0.5.tar.gz"
+md5sums="013e14e2588c85962157e0183e7c95a4 liblogging-1.0.5.tar.gz"
+sha256sums="250065a2b877bc87a609dc46293978ceec31a03ecf191afa0883a4f2a092c6df liblogging-1.0.5.tar.gz"
+sha512sums="3b270cb94dfa68bd1c81b8be73d0ac19e62c7d499b720714bc3a5527fa0d216bc086dd653fe64a4f04c25203e77e35aa699acc6b1948366c04cc70b74a237d5f liblogging-1.0.5.tar.gz"