wok annotate dmidecode/receipt @ rev 21777

linld: fix strdup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 11 14:43:21 2019 +0200 (2019-07-11)
parents 3705d68ed8f3
children 17091bc7c301
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="dmidecode"
Hans-G?nter@20840 4 VERSION="3.2"
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 WEB_SITE="http://www.nongnu.org/dmidecode/"
Hans-G?nter@20840 10
Hans-G?nter@20840 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@20840 12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
erjo@621 13
pascal@15579 14 DEPENDS=""
pascal@15579 15
erjo@621 16 # Rules to configure and make the package.
erjo@621 17 compile_rules()
erjo@621 18 {
pascal@20212 19 sed -i 's|uname -m|echo i486|' Makefile
Hans-G?nter@20840 20
Hans-G?nter@20840 21 make -j 1 &&
pascal@15579 22 make DESTDIR=$DESTDIR install
erjo@621 23 }
erjo@621 24
erjo@621 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 26 genpkg_rules()
erjo@621 27 {
erjo@621 28 mkdir -p $fs/usr/sbin
pascal@15579 29 cp -a $install/usr/local/sbin/* $fs/usr/sbin
erjo@621 30 }