wok annotate macchanger/receipt @ rev 22036
updated tiptop (2.2 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 21 15:30:09 2019 +0100 (2019-10-21) |
parents | a3ac71e60068 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
gokhlayeh@5876 | 1 # SliTaz package receipt. |
gokhlayeh@5876 | 2 |
gokhlayeh@5876 | 3 PACKAGE="macchanger" |
Hans-G?nter@21411 | 4 VERSION="1.7.0" |
gokhlayeh@5876 | 5 CATEGORY="network" |
Hans-G?nter@21411 | 6 SHORT_DESC="A small utility to change your MAC address." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pascal@21618 | 9 WEB_SITE="https://www.gnu.org/software/macchanger/" |
Hans-G?nter@21411 | 10 |
gokhlayeh@5876 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21411 | 12 WGET_URL="https://github.com/alobbs/$PACKAGE/releases/download/$VERSION/$TARBALL" |
gokhlayeh@5876 | 13 |
gokhlayeh@5876 | 14 # Rules to configure and make the package. |
gokhlayeh@5876 | 15 compile_rules() |
gokhlayeh@5876 | 16 { |
Hans-G?nter@21411 | 17 ./configure \ |
Hans-G?nter@21411 | 18 --prefix=/usr \ |
Hans-G?nter@21411 | 19 --infodir=/usr/share/info \ |
Hans-G?nter@21411 | 20 --mandir=/usr/share/man \ |
gokhlayeh@5876 | 21 $CONFIGURE_ARGS && |
Hans-G?nter@21411 | 22 make -j 1 && |
Hans-G?nter@21411 | 23 make DESTDIR=$DESTDIR install |
gokhlayeh@5876 | 24 } |
gokhlayeh@5876 | 25 |
gokhlayeh@5876 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5876 | 27 genpkg_rules() |
gokhlayeh@5876 | 28 { |
gokhlayeh@5876 | 29 mkdir -p $fs/usr/share |
Hans-G?nter@21411 | 30 |
Hans-G?nter@21411 | 31 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21411 | 32 cp -a $install/usr/share/macchanger $fs/usr/share |
gokhlayeh@5876 | 33 } |