summaryrefslogtreecommitdiff
path: root/dmidecode
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2010-06-30 22:59:48 +1000
committerDanny Rawlins <monster.romster@gmail.com>2010-06-30 22:59:48 +1000
commit84350f5ca77c729512b4b3cd2d645b599fd766fc (patch)
tree860ab05394884042ff3d40fa2fd21ae492a0baf2 /dmidecode
parente00270dd1c6870552094473e93dd6f81b4ef796b (diff)
downloadcontrib-84350f5ca77c729512b4b3cd2d645b599fd766fc.tar.gz
contrib-84350f5ca77c729512b4b3cd2d645b599fd766fc.tar.xz
dmidecode: picked up port
Diffstat (limited to 'dmidecode')
-rw-r--r--dmidecode/Pkgfile18
1 files changed, 12 insertions, 6 deletions
diff --git a/dmidecode/Pkgfile b/dmidecode/Pkgfile
index 332fa64f2..8ab12b753 100644
--- a/dmidecode/Pkgfile
+++ b/dmidecode/Pkgfile
@@ -1,6 +1,7 @@
# Description: System's hardware information of your BIOS according to SMBIOS/DMI standard.
# URL: http://www.nongnu.org/dmidecode/
-# Maintainer: Victor Martinez, pitillo at ono dot com
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: Victor Martinez, pitillo at ono dot com
# Depends on:
name=dmidecode
@@ -9,9 +10,14 @@ release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
build() {
- cd $name-$version
- sed -e 's|/usr/local|/usr|' -e 's|/share/man|/man|' -i Makefile
- make
- make DESTDIR=$PKG install
- rm -rf $PKG/usr/share
+ cd $name-$version
+
+ sed -i \
+ -e 's|/usr/local|/usr|' \
+ -e 's|/share/man|/man|' Makefile
+
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/share/doc
+ rmdir $PKG/usr/share
}

Generated by cgit