wok-6.x annotate macchanger/receipt @ rev 6316
Fixed typo. Changed DEPENS to DEPENDS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 17 02:13:58 2010 +0000 (2010-09-17) |
parents | |
children | af022550edde |
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@5876 | 7 MAINTAINER="gokhlayeh@mailoo.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 |