aboutsummaryrefslogtreecommitdiffstats
path: root/community/lshw/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-23 18:26:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-24 13:20:29 +0000
commit0b1e3068cbe30dda2e0d9b8d2681ae7ff2b04882 (patch)
tree17985fda95d147e92f9471644abea81f1ab43f4f /community/lshw/APKBUILD
parent38857717dce12bba0172e191de225561b698db6c (diff)
downloadaports-0b1e3068cbe30dda2e0d9b8d2681ae7ff2b04882.tar.bz2
aports-0b1e3068cbe30dda2e0d9b8d2681ae7ff2b04882.tar.xz
community/lshw: modernize APKBUILD
Diffstat (limited to 'community/lshw/APKBUILD')
-rw-r--r--community/lshw/APKBUILD24
1 files changed, 3 insertions, 21 deletions
diff --git a/community/lshw/APKBUILD b/community/lshw/APKBUILD
index 74d2c65161..a3c8756c32 100644
--- a/community/lshw/APKBUILD
+++ b/community/lshw/APKBUILD
@@ -7,43 +7,25 @@ pkgdesc="Hardware Lister"
url="http://ezix.org/project/wiki/HardwareLiSter"
arch="all"
license="GPL3+"
-depends=""
-depends_dev=""
makedepends="sqlite-dev linux-headers"
-install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://ezix.org/software/files/lshw-B.$pkgver.tar.gz
no-private-uint.patch
basename-limits-long-bits.patch
"
-_builddir="$srcdir"/$pkgname-B.$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-B.$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
make RPM_OPT_FLAGS=-DNONLS
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
-md5sums="a5feb796cb302850eaf5b4530888e3ed lshw-B.02.17.tar.gz
-4ed02e5d2246bf66c6420ca007555cfa no-private-uint.patch
-4c5aa7c045adf03577448cc59168a691 basename-limits-long-bits.patch"
-sha256sums="eb9cc053fa0f1e78685cb695596e73931bfb55d2377e3bc3b8b94aff4c5a489c lshw-B.02.17.tar.gz
-2e5a3d63da8475db17fd90969bcb1930cf19d2b8da7be41edeea5c2a53878382 no-private-uint.patch
-c8365f7ac8fc7a751c78d89ab446111bb1a235bc977a1b21e1b826c2e62361d1 basename-limits-long-bits.patch"
sha512sums="868899dce98e786a08a2134d6e132c388d71ab0f03fa6e10881e14d7a882c1882b46bbc6bd6ddb021cfab87ad6c9fd369453c3916f0b3353027eb2d470e55d9b lshw-B.02.17.tar.gz
6cd1e4e1e5972bfff2dd159ffc4a1a38157598f993ad927afc70f067496e461c2a25d9721c4773bda6465750b9125f9eb3d89e0b83b1842fafcf552262276da8 no-private-uint.patch
50005efd1f9a77495f5acb36e4d6bbec0a2e22cf8ce3b17f28e6be738bfc1d6943fb9adf38a2414a719df0b8ccb4be2b0f4313e441d77e3e3043b73d30566190 basename-limits-long-bits.patch"