wok annotate macchanger/receipt @ rev 18701
Up tazpkg(889)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 12:18:23 2015 +0200 (2015-12-16) |
parents | af022550edde |
children | a3ac71e60068 |
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" |
pascal@15584 | 8 LICENSE="GPL2" |
gokhlayeh@5876 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5876 | 10 WEB_SITE="http://www.gnu.org" |
gokhlayeh@5876 | 11 WGET_URL="ftp://ftp.gnu.org/gnu/macchanger/$TARBALL" |
gokhlayeh@5876 | 12 |
gokhlayeh@5876 | 13 # Rules to configure and make the package. |
gokhlayeh@5876 | 14 compile_rules() |
gokhlayeh@5876 | 15 { |
gokhlayeh@5876 | 16 cd $src |
gokhlayeh@5876 | 17 ./configure \ |
gokhlayeh@5876 | 18 --prefix=/usr \ |
gokhlayeh@5876 | 19 --infodir=/usr/share/info \ |
gokhlayeh@5876 | 20 --mandir=/usr/share/man \ |
gokhlayeh@5876 | 21 $CONFIGURE_ARGS && |
pascal@15584 | 22 make && make DESTDIR=$DESTDIR install |
gokhlayeh@5876 | 23 } |
gokhlayeh@5876 | 24 |
gokhlayeh@5876 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5876 | 26 genpkg_rules() |
gokhlayeh@5876 | 27 { |
gokhlayeh@5876 | 28 mkdir -p $fs/usr/share |
pascal@15584 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 30 cp -a $install/usr/share/macchanger $fs/usr/share |
gokhlayeh@5876 | 31 } |
gokhlayeh@5876 | 32 |