aboutsummaryrefslogblamecommitdiffstats
path: root/main/sysfsutils/APKBUILD
blob: e6b8b32b43cc02e15dfb8a1e5e1e930f9eb9611a (plain) (tree)
1
2
3
4
5
6
7
8


                                                   

                      
                                         
                                             
          




                                                                                   
 
           

                         

 
         



                                 

                                       


           
                                      
 

                                                                                                                                                                      
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sysfsutils
pkgver=2.1.0
_pkgver=${pkgver//./_}
pkgrel=9
pkgdesc="System Utilities Based on Sysfs"
url="https://github.com/linux-ras/sysfsutils"
arch="all"
options="!check" # No test suite
license="GPL-2.0-only AND LGPL-2.1-only"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/linux-ras/sysfsutils/archive/sysfsutils-$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$_pkgver"

prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f9e2dd77df5de7323c41940781eb161aaad092045379df13abc248c0dd8455ba9a793e2ee9f2b6d3effe87e07ea3e8cdc012bab926a49ba7f4fd48f22b3138f0  sysfsutils-2_1_0.tar.gz"