wok-stable annotate macchanger/receipt @ rev 7863
tazpkg-web: exclude path from common files (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 01 21:19:34 2011 +0100 (2011-01-01) |
parents | 2c46537077fa |
children |
rev | line source |
---|---|
gokhlayeh@5876 | 1 # SliTaz package receipt. |
gokhlayeh@5876 | 2 |
gokhlayeh@5876 | 3 PACKAGE="macchanger" |
gokhlayeh@5876 | 4 VERSION="1.5.0" |
gokhlayeh@5876 | 5 CATEGORY="network" |
gokhlayeh@5876 | 6 SHORT_DESC="A small utility to change your MAC address" |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@5876 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5876 | 9 WEB_SITE="http://www.gnu.org" |
gokhlayeh@5876 | 10 WGET_URL="ftp://ftp.gnu.org/gnu/macchanger/$TARBALL" |
gokhlayeh@5876 | 11 |
gokhlayeh@5876 | 12 # Rules to configure and make the package. |
gokhlayeh@5876 | 13 compile_rules() |
gokhlayeh@5876 | 14 { |
gokhlayeh@5876 | 15 cd $src |
gokhlayeh@5876 | 16 ./configure \ |
gokhlayeh@5876 | 17 --prefix=/usr \ |
gokhlayeh@5876 | 18 --infodir=/usr/share/info \ |
gokhlayeh@5876 | 19 --mandir=/usr/share/man \ |
gokhlayeh@5876 | 20 $CONFIGURE_ARGS && |
gokhlayeh@5876 | 21 make && make DESTDIR=$PWD/_pkg install |
gokhlayeh@5876 | 22 } |
gokhlayeh@5876 | 23 |
gokhlayeh@5876 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5876 | 25 genpkg_rules() |
gokhlayeh@5876 | 26 { |
gokhlayeh@5876 | 27 mkdir -p $fs/usr/share |
gokhlayeh@5876 | 28 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@5876 | 29 cp -a $_pkg/usr/share/macchanger $fs/usr/share |
gokhlayeh@5876 | 30 } |
gokhlayeh@5876 | 31 |