wok-current view ethtool/receipt @ rev 9737
slim: fix DESTDIR is needed and build deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 00:34:33 2011 +0200 (2011-05-10) |
parents | 31c985a0bd3d |
children | ba8a1b9f08b0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ethtool"
4 VERSION="2.6.36"
5 CATEGORY="network"
6 SHORT_DESC="Display or change ethernet card settings."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/gkernel/"
11 WGET_URL="http://downloads.sourceforge.net/gkernel/$TARBALL"
12 TAGS="ethernet"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS && \
20 make && 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
27 cp -a $_pkg/usr/sbin $fs/usr
28 }