wok-next rev 21627

updated enet (1.2.1 -> 1.3.15)
author Hans-G?nter Theisgen
date Thu Jun 25 16:07:08 2020 +0100 (2020-06-25)
parents f75c2b54c349
children 47cd926da0b1
files enet/receipt
line diff
     1.1 --- a/enet/receipt	Thu Jun 25 16:03:31 2020 +0100
     1.2 +++ b/enet/receipt	Thu Jun 25 16:07:08 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="enet"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.3.15"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Network communication layer on top of UDP"
    1.11  MAINTAINER="devl547@gmail.com"
    1.12 @@ -11,19 +11,22 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="$WEB_SITE/download/$TARBALL"
    1.15  
    1.16 -compile_rules() {
    1.17 -	./configure \
    1.18 -		--prefix=/usr \
    1.19 -		--infodir=/usr/share/info \
    1.20 -		--mandir=/usr/share/man \
    1.21 -		--enable-crc32 \
    1.22 +compile_rules()
    1.23 +{
    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 &&
    1.31  	make DESTDIR=$install install
    1.32  }
    1.33  
    1.34 -genpkg_rules() {
    1.35 +genpkg_rules()
    1.36 +{
    1.37  	mkdir -p $fs/usr/lib
    1.38 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.39 -	cp -a $install/usr/include $fs/usr
    1.40 +
    1.41 +	cp -a $install/usr/lib/*a	$fs/usr/lib
    1.42 +	cp -a $install/usr/include	$fs/usr
    1.43  }