wok diff mtr/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (2022-07-01)
parents b65543f4a4eb
children
line diff
     1.1 --- a/mtr/receipt	Sun Mar 20 12:08:15 2022 +0000
     1.2 +++ b/mtr/receipt	Fri Jul 01 10:04:47 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mtr"
     1.7 -VERSION="0.93"
     1.8 +VERSION="0.95"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="My traceroute."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  WEB_SITE="https://www.bitwizard.nl/mtr/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="ftp://ftp.bitwizard.nl/mtr/$TARBALL"
    1.17 +WGET_URL="https://github.com/traviscross/$PACKAGE/archive/v$VERSION/$PACKAGE-v$VERSION.tar.gz"
    1.18  
    1.19  DEPENDS="ncurses"
    1.20  BUILD_DEPENDS="autoconf automake linux-api-headers ncurses-dev"
    1.21 @@ -24,22 +24,19 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -#	./bootstrap.sh
    1.26 -
    1.27 -	export LDFLAGS="$LDFLAGS -ltinfo"
    1.28 -
    1.29 -	./configure			\
    1.30 -		--prefix=/usr		\
    1.31 -		--without-gtk		\
    1.32 -		--mandir=/usr/share/man	\
    1.33 +	./bootstrap.sh &&
    1.34 +	./configure				\
    1.35 +		LDFLAGS="$LDFLAGS -ltinfo"	\
    1.36 +		--prefix=/usr			\
    1.37 +		--without-gtk			\
    1.38 +		--mandir=/usr/share/man		\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41 -	make DESTDIR=$DESTDIR install
    1.42 +	make install DESTDIR=$DESTDIR
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p $fs/usr
    1.49 -	cp -a $install/usr/sbin	$fs/usr
    1.50 +	cook_copy_folders	sbin
    1.51  }