wok-current view macchanger/receipt @ rev 25449
BootProg/boot32.asm: floppy chs support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 12 16:35:46 2022 +0000 (23 months ago) |
parents | 9b3e5f996086 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="macchanger"
4 VERSION="1.7.0"
5 CATEGORY="network"
6 SHORT_DESC="A small utility to change your MAC address."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/macchanger/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/alobbs/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 current_version()
15 {
16 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/macchanger $fs/usr/share
39 }