wok-6.x diff libffcall/receipt @ rev 21247

Add lpcnet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 11 17:27:15 2019 +0200 (2019-04-11)
parents 6c3718ca17b6
children da11ee0756b7
line diff
     1.1 --- a/libffcall/receipt	Sat Nov 09 17:34:23 2013 +0000
     1.2 +++ b/libffcall/receipt	Thu Apr 11 17:27:15 2019 +0200
     1.3 @@ -1,43 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libffcall"
     1.7 -VERSION="20091209"
     1.8 +VERSION="2.1"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Foreign function call libraries."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://www.gnu.org/software/libffcall/"
    1.15 -WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall"
    1.16 -CVS_MODULE="ffcall"
    1.17 +WEB_SITE="https://www.gnu.org/software/libffcall/"
    1.18 +
    1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.20 +#WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall"
    1.21 +#CVS_MODULE="ffcall"
    1.22 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.23  
    1.24  DEPENDS=""
    1.25 -BUILD_DEPENDS="cvs"
    1.26 +BUILD_DEPENDS=""
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	#TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.32 -	#if [ -f $TARBALL ]; then
    1.33 -		#tar xzf $TARBALL
    1.34 -	#else	
    1.35 -		# No official tarball - so we have to use cvs.
    1.36 -		#cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1
    1.37 -
    1.38 -		# $src = $PACKAGE-$VERSION
    1.39 -		#mv ffcall $PACKAGE-$VERSION 2>/dev/null
    1.40 -		#tar czf $TARBALL $PACKAGE-$VERSION
    1.41 -	#fi
    1.42 -	cd $src
    1.43  	./configure $CONFIGURE_ARGS &&
    1.44 -	make -j1 && make install
    1.45 +	make -j1 &&
    1.46 +	make install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p $fs/usr/lib
    1.53 -	cp -a $install/usr/lib $fs/usr
    1.54 -	cp -a $install/usr/include $fs/usr
    1.55 +
    1.56 +	cp -a $install/usr/lib		$fs/usr
    1.57 +	cp -a $install/usr/include	$fs/usr
    1.58  }
    1.59 -