diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-21 14:04:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-21 14:10:54 +0000 |
commit | ad2dc2e3a5b504290cdfee6f8605e11e25dc9920 (patch) | |
tree | 27218691069dc6168d19c0485ecc3ab1f80d92bd /testing/hardinfo/APKBUILD | |
parent | cb0c20d57cec46314cd0cc41cd09c28147636850 (diff) | |
download | aports-ad2dc2e3a5b504290cdfee6f8605e11e25dc9920.tar.bz2 aports-ad2dc2e3a5b504290cdfee6f8605e11e25dc9920.tar.xz |
testing/hardinfo: new aport
A system information and benchmark tool
http://hardinfo.berlios.de/wiki/index.php/Main_Page
(cherry picked from commit 417e043d467ea56abc89390c88157921c6a17f4e)
Diffstat (limited to 'testing/hardinfo/APKBUILD')
-rw-r--r-- | testing/hardinfo/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/hardinfo/APKBUILD b/testing/hardinfo/APKBUILD new file mode 100644 index 000000000..ac60f1dd1 --- /dev/null +++ b/testing/hardinfo/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=hardinfo +pkgver=0.5.1 +pkgrel=0 +pkgdesc="A system information and benchmark tool." +url="http://hardinfo.berlios.de/wiki/index.php/Main_Page" +license="GPL-2" +makedepends="gtk+-dev libsoup-dev>=2.4.0 gnutls-dev>=2.4.1" +depends= +source="http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2 + fixsensors.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + patch -p1 < "$srcdir"/fixsensors.patch || return 1 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -d "$pkgdir"/etc + echo "Alpine Linux" > "$pkgdir"/etc/hardinfo.distro +} +md5sums="6fb38992e140f2fab16518ae1f38e188 hardinfo-0.5.1.tar.bz2 +05c212db07b9f152cdea052ff7bb28fa fixsensors.patch" |