wok view sysfsutils/receipt @ rev 14065

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents 02bbaa9d12ba
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="sysfsutils"
4 VERSION="2.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilites built upon sysfs."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://linux-diag.sourceforge.net/Sysfsutils.html"
11 WGET_URL="$SF_MIRROR/linux-diag/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }