wok annotate dmidecode/receipt @ rev 20212
Force host arch to i486
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 12:51:10 2018 +0100 (2018-02-24) |
parents | eb8067417980 |
children | 92362bece527 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="dmidecode" |
slaxemulator@8052 | 4 VERSION="2.11" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="SMBIOS/DMI reports." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
erjo@621 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@621 | 10 WEB_SITE="http://www.nongnu.org/dmidecode/" |
erjo@621 | 11 WGET_URL="http://download.savannah.gnu.org/releases/dmidecode/$TARBALL" |
erjo@621 | 12 |
pascal@15579 | 13 DEPENDS="" |
pascal@15579 | 14 |
erjo@621 | 15 # Rules to configure and make the package. |
erjo@621 | 16 compile_rules() |
erjo@621 | 17 { |
pascal@20212 | 18 sed -i 's|uname -m|echo i486|' Makefile |
erjo@621 | 19 make |
pascal@15579 | 20 make DESTDIR=$DESTDIR install |
erjo@621 | 21 } |
erjo@621 | 22 |
erjo@621 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 24 genpkg_rules() |
erjo@621 | 25 { |
erjo@621 | 26 mkdir -p $fs/usr/sbin |
pascal@15579 | 27 cp -a $install/usr/local/sbin/* $fs/usr/sbin |
erjo@621 | 28 } |
erjo@621 | 29 |