aboutsummaryrefslogtreecommitdiffstats
path: root/main/sysfsutils/APKBUILD
blob: bd583d1f675300f2265939868171b775c7b6794e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sysfsutils
pkgver=2.1.0
pkgrel=5
pkgdesc="System Utilities Based on Sysfs"
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
arch="x86 x86_64"
license="GPL LGPL"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir"/ install
#	cd "$srcdir"/pkg
#	mkdir -v lib
#	mv -v usr/lib/libsysfs.so.2* lib/
#	ln -svf ../../lib/libsysfs.so.2 usr/lib/libsysfs.so
}
md5sums="14e7dcd0436d2f49aa403f67e1ef7ddc  sysfsutils-2.1.0.tar.gz"