summaryrefslogtreecommitdiff
path: root/user/libstatgrab/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2017-10-11 02:19:04 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2017-10-11 02:19:04 +0000
commita524397edf77b9f7eda2a8c609119e489b7296f9 (patch)
treea69b169545e401625abdcffbfe953400117efbde /user/libstatgrab/APKBUILD
parentb5e44965a42daaf7ce7101a804aea0779b211d10 (diff)
parent32d81be95e8c1cb2555bbad2634d62287fc95d1e (diff)
downloadpackages-a524397edf77b9f7eda2a8c609119e489b7296f9.tar.gz
packages-a524397edf77b9f7eda2a8c609119e489b7296f9.tar.bz2
packages-a524397edf77b9f7eda2a8c609119e489b7296f9.tar.xz
packages-a524397edf77b9f7eda2a8c609119e489b7296f9.zip
Merge branch 'libstatgrab' into 'master'
user/libstatgrab: new package Packages libstatgrab, needed in order to build lxqt. See merge request !1
Diffstat (limited to 'user/libstatgrab/APKBUILD')
-rw-r--r--user/libstatgrab/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/user/libstatgrab/APKBUILD b/user/libstatgrab/APKBUILD
new file mode 100644
index 000000000..9ae1a1494
--- /dev/null
+++ b/user/libstatgrab/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libstatgrab
+pkgver=0.91
+pkgrel=0
+pkgdesc="Library for cross-platform access to system statistics."
+url="https://www.i-scream.org/libstatgrab"
+arch="all"
+license="GPL-2.0+ LGPL-2.1+"
+depends=""
+depends_dev="ncurses-dev"
+checkdepends="perl"
+makedepends="autoconf automake libtool $depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://ftp.i-scream.org/pub/i-scream/$pkgname/$pkgname-$pkgver.tar.gz
+ fix-configure.patch
+ nongnu.patch"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ aclocal
+ libtoolize -if --recursive
+ autoreconf -if
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-maintainer-mode \
+ --disable-man-build
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f360f2e1b185bf9603b1d9c50649b0050e9502128ff81a9f4de88457e2f5203deafe7fd7ac13ebc4cc56e6ecd1bdf8aacae64987bdf36af0c9929e30626915f6 libstatgrab-0.91.tar.gz
+96661b2d4c4c54fde9b2cb57e3a9d84e950aae130017a7496a60b630ec7c30d8c6ee270d8f2976f8179f4926073a39d92116e4abce2f4c742d4d5e08bc031f4e fix-configure.patch
+9c42c860c0939b60fcba26d86d65c8e5f1e64e5e6d0646eb7d6ab72b1926f655f0ae8212823cf6e0e1afb1b9098a4d02503847304ce5e20d0540329c10d23d7f nongnu.patch"