summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 04:54:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 04:54:44 -0500
commit94a49fbf8d93eacff01eba59f5e60bf9fb33eb80 (patch)
treedc9c34d8d4fe2aed9a252abe2829b4d673cfbd6b
parent5cee2e134d03fc28dcd589acaf743019eeb2eb92 (diff)
downloadpackages-94a49fbf8d93eacff01eba59f5e60bf9fb33eb80.tar.gz
packages-94a49fbf8d93eacff01eba59f5e60bf9fb33eb80.tar.bz2
packages-94a49fbf8d93eacff01eba59f5e60bf9fb33eb80.tar.xz
packages-94a49fbf8d93eacff01eba59f5e60bf9fb33eb80.zip
user/sysfsutils: pull in, fix up, modernise
-rw-r--r--user/sysfsutils/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/sysfsutils/APKBUILD b/user/sysfsutils/APKBUILD
new file mode 100644
index 000000000..da5f74618
--- /dev/null
+++ b/user/sysfsutils/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer:
+pkgname=sysfsutils
+pkgver=2.1.0
+pkgrel=9
+pkgdesc="System utilities built on Sysfs"
+url="http://linux-diag.sourceforge.net/Sysfsutils.html"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0-only AND LGPL-2.1-only"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir"/ install
+}
+
+sha512sums="485902d98b41a69343cb037883d0c0a1de8a1a4aed657cd4528fe10bc845ac51629657dff01deef042e57c9bd9243095e23fc931d06d74db31b03c5f0a18cf07 sysfsutils-2.1.0.tar.gz"