wok annotate macchanger/receipt @ rev 11808

Up slitaz-configs (4.8) - New Openbox and GTK theme
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 25 16:57:02 2012 +0100 (2012-02-25)
parents 2c46537077fa
children 3765f181a6d5
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