summaryrefslogtreecommitdiff
path: root/user/xload
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:05:11 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:05:11 +0000
commit2de24ce10c33bdd61478ccaa477236f3ec22d3c4 (patch)
treee92ae0f73ab8e3307cdb964ec3310d4d61b98707 /user/xload
parent1859b340b956d2fe527f26ab9963db90a73d6053 (diff)
downloadpackages-2de24ce10c33bdd61478ccaa477236f3ec22d3c4.tar.gz
packages-2de24ce10c33bdd61478ccaa477236f3ec22d3c4.tar.bz2
packages-2de24ce10c33bdd61478ccaa477236f3ec22d3c4.tar.xz
packages-2de24ce10c33bdd61478ccaa477236f3ec22d3c4.zip
user/xload: new package
Diffstat (limited to 'user/xload')
-rw-r--r--user/xload/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/xload/APKBUILD b/user/xload/APKBUILD
new file mode 100644
index 000000000..71414484b
--- /dev/null
+++ b/user/xload/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xload
+pkgver=1.1.3
+pkgrel=0
+pkgdesc="Load average monitor for X11"
+url="https://www.X.Org/"
+arch="all"
+license="X11 AND MIT"
+depends=""
+makedepends="libx11-dev libxaw-dev libxmu-dev libxt-dev util-macros
+ xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xload-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ CFLAGS="$CFLAGS -DRLOADSTUB" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="8dbc4f0cee7b30d7381be819152b27653d9b0049266e59bde2e2c972a88c4f2bdea766fc407bbdfef15d0aab30fedc756189a1048170a812853133a5094fe7a5 xload-1.1.3.tar.bz2"