mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 23:01:35 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
36 lines
782 B
Plaintext
36 lines
782 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=sysfsutils
|
|
pkgver=2.1.0
|
|
pkgrel=8
|
|
pkgdesc="System Utilities Based on Sysfs"
|
|
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
|
|
arch="all"
|
|
license="GPL LGPL"
|
|
depends=""
|
|
makedepends=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir"/ install || return 1
|
|
}
|
|
md5sums="14e7dcd0436d2f49aa403f67e1ef7ddc sysfsutils-2.1.0.tar.gz"
|