blob: 9f40e3630a23316aa392e5589a307b13b3b5cdf5 (
plain)
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
|
#!/bin/sh
NAME="sysfsutils"
DESC="System Utilities Based on Sysfs"
MAKEDEPS="autoconf automake libtool"
PKG_VER=2.1.1
SOURCE="https://github.com/linux-ras/sysfsutils/archive/v$PKG_VER.tar.gz"
prepare() {
apply_patches
./autogen
}
build() {
./configure \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
make DESTDIR="$PKG_DEST" install
install -Dm0644 COPYING -t "$PKG_DEST"/usr/share/licenses/"sysfsutils"
}
|