wok-current annotate mtr/receipt @ rev 24067
linld: add cpu detection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 15:05:16 2021 +0000 (2021-07-05) |
parents | dfd47bf5561b |
children | 241fb98cab1c |
rev | line source |
---|---|
paul@3598 | 1 # SliTaz package receipt. |
paul@3598 | 2 |
paul@3598 | 3 PACKAGE="mtr" |
Hans-G?nter@23201 | 4 VERSION="0.93" |
paul@3598 | 5 CATEGORY="network" |
paul@3598 | 6 SHORT_DESC="My traceroute." |
paul@3598 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
Hans-G?nter@23201 | 9 WEB_SITE="http://www.bitwizard.nl/mtr/" |
Hans-G?nter@23201 | 10 |
paul@3598 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3598 | 12 WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL" |
paul@3598 | 13 |
pascal@15583 | 14 DEPENDS="ncurses" |
Hans-G?nter@23201 | 15 BUILD_DEPENDS="autoconf automake linux-api-headers ncurses-dev" |
pascal@15583 | 16 |
paul@3598 | 17 # Rules to configure and make the package. |
paul@3598 | 18 compile_rules() |
paul@3598 | 19 { |
Hans-G?nter@23201 | 20 # ./bootstrap.sh |
Hans-G?nter@23201 | 21 |
pascal@17670 | 22 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@23201 | 23 |
Hans-G?nter@23201 | 24 ./configure \ |
Hans-G?nter@23201 | 25 --prefix=/usr \ |
Hans-G?nter@23201 | 26 --without-gtk \ |
Hans-G?nter@23201 | 27 --mandir=/usr/share/man \ |
paul@3598 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@23201 | 29 make && |
Hans-G?nter@23201 | 30 make DESTDIR=$DESTDIR install |
paul@3598 | 31 } |
paul@3598 | 32 |
paul@3598 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3598 | 34 genpkg_rules() |
paul@3598 | 35 { |
paul@3598 | 36 mkdir -p $fs/usr |
Hans-G?nter@23201 | 37 cp -a $install/usr/sbin $fs/usr |
paul@3598 | 38 } |