mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 08:47:13 +08:00
39 lines
732 B
Bash
39 lines
732 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: abveritas@chakra-project.org
|
|
|
|
pkgname=sysfsutils
|
|
pkgver=2.1.0
|
|
pkgrel=7
|
|
pkgdesc="System Utilities Based on Sysfs"
|
|
arch=('x86_64')
|
|
license=('GPL' 'LGPL')
|
|
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
|
|
groups=('base')
|
|
depends=('glibc')
|
|
source=("http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('14e7dcd0436d2f49aa403f67e1ef7ddc')
|
|
options=(!libtool)
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
rm "$pkgdir/usr/lib/libsysfs.a"
|
|
}
|
|
|