rev |
line source |
paul@2049
|
1 # SliTaz package receipt.
|
paul@2049
|
2
|
paul@2049
|
3 PACKAGE="ethtool"
|
paul@2049
|
4 VERSION="6"
|
pascal@2054
|
5 CATEGORY="network"
|
paul@2049
|
6 SHORT_DESC="Display or change ethernet card settings."
|
paul@2049
|
7 MAINTAINER="paul@slitaz.org"
|
paul@2049
|
8 DEPENDS=""
|
paul@2049
|
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
pascal@2086
|
10 WEB_SITE="http://sourceforge.net/projects/gkernel/"
|
paul@2049
|
11 WGET_URL="http://downloads.sourceforge.net/gkernel/$TARBALL"
|
paul@2049
|
12
|
paul@2049
|
13 # Rules to configure and make the package.
|
paul@2049
|
14 compile_rules()
|
paul@2049
|
15 {
|
paul@2049
|
16 cd $src
|
paul@2049
|
17 ./configure --prefix=/usr --infodir=/usr/share/info \
|
paul@2049
|
18 --mandir=/usr/share/man $CONFIGURE_ARGS && \
|
paul@2049
|
19 make && make DESTDIR=$PWD/_pkg install
|
paul@2049
|
20 }
|
paul@2049
|
21
|
paul@2049
|
22 # Rules to gen a SliTaz package suitable for Tazpkg.
|
paul@2049
|
23 genpkg_rules()
|
paul@2049
|
24 {
|
paul@2049
|
25 mkdir -p $fs/usr
|
paul@2049
|
26 cp -a $_pkg/usr/sbin $fs/usr
|
paul@2049
|
27 }
|
paul@2049
|
28
|