wok diff libdnet/receipt @ rev 25064

openvas-libraries, openvas-client: update gnutls calls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 08 16:46:37 2022 +0000 (2022-06-08)
parents b569b85b0fb9
children 7364ffdaaa60
line diff
     1.1 --- a/libdnet/receipt	Mon Jan 17 18:18:17 2022 +0000
     1.2 +++ b/libdnet/receipt	Wed Jun 08 16:46:37 2022 +0000
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libdnet"
     1.7 -VERSION="1.12"
     1.8 +VERSION="1.14"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A simplified, portable interface to serveral low-level networking routines"
    1.11 +SHORT_DESC="A simplified, portable interface to several low-level networking routines."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="BSD"
    1.14 -TARBALL="$PACKAGE-$VERSION.tgz"
    1.15 -WEB_SITE="https://github.com/dugsong/libdnet"
    1.16 -WGET_URL="http://libdnet.googlecode.com/files/$TARBALL"
    1.17 +WEB_SITE="https://github.com/ofalk/libdnet"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +WGET_URL="$WEB_SITE/archive/$TARBALL"
    1.21  
    1.22  DEPENDS="python"
    1.23  BUILD_DEPENDS="python python-dev"
    1.24 @@ -23,21 +24,18 @@
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--infodir=/usr/share/info \
    1.32 -		--mandir=/usr/share/man \
    1.33 +	./configure				\
    1.34 +		--prefix=/usr			\
    1.35 +		--infodir=/usr/share/info	\
    1.36 +		--mandir=/usr/share/man		\
    1.37  		$CONFIGURE_ARGS &&
    1.38 -	make && make DESTDIR=$DESTDIR install
    1.39 +	make &&
    1.40 +	make install DESTDIR=$DESTDIR
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr/lib
    1.47 -	cp -a $install/usr/sbin $fs/usr
    1.48 -	cp -a $install/usr/lib/libdnet $fs/usr/lib
    1.49 -	cp -a $install/usr/lib/*.1* $fs/usr/lib
    1.50 +	cook_copy_folders	sbin
    1.51 +	cook_copy_files		*.so*
    1.52  }
    1.53 -