wok diff enet/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 83b97236db32
children 2b069c72d47e
line diff
     1.1 --- a/enet/receipt	Sat Feb 12 11:42:56 2022 +0000
     1.2 +++ b/enet/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="enet"
     1.7 -VERSION="1.3.14"
     1.8 +VERSION="1.3.17"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A relatively thin, simple and robust network communication layer on top of UDP"
    1.11 +SHORT_DESC="A relatively thin, simple and robust network communication layer on top of UDP."
    1.12  MAINTAINER="devl547@gmail.com"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="http://enet.bespin.org/"
    1.15 @@ -21,20 +21,26 @@
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 -	./configure \
    1.20 -		--prefix=/usr \
    1.21 -		--infodir=/usr/share/info \
    1.22 -		--mandir=/usr/share/man \
    1.23 -		--enable-crc32 \
    1.24 +	./configure				\
    1.25 +		--prefix=/usr			\
    1.26 +		--infodir=/usr/share/info	\
    1.27 +		--mandir=/usr/share/man		\
    1.28 +		--enable-crc32			\
    1.29  		$CONFIGURE_ARGS &&
    1.30 -	make -j 1 &&
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	make &&
    1.33 +	make install DESTDIR=$DESTDIR
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/lib
    1.40 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.41 -	cp -a $install/usr/include $fs/usr
    1.42 +#	mkdir -p $fs/usr/lib
    1.43 +
    1.44 +#	cp -a $install/usr/lib/*a	$fs/usr/lib
    1.45 +#	cp -a $install/usr/include	$fs/usr
    1.46 +	cook_copy_folders	include
    1.47 +	cook_copy_folders	pkgconfig
    1.48 +	cook_copy_files		*.*a
    1.49 +	# what about *.so* ?
    1.50 +	# this looks rather like a package enet-dev !
    1.51  }