wok-6.x view macchanger/receipt @ rev 9320
superswitcher: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 09:52:56 2011 +0100 (2011-03-18) |
parents | 2c46537077fa |
children | 3765f181a6d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="macchanger"
4 VERSION="1.5.0"
5 CATEGORY="network"
6 SHORT_DESC="A small utility to change your MAC address"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org"
10 WGET_URL="ftp://ftp.gnu.org/gnu/macchanger/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/macchanger $fs/usr/share
30 }