wok-next diff libffcall/receipt @ rev 20574
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 20:08:04 2018 +0300 (2018-04-13) |
parents | d43bf7aae921 |
children | df20b2110f7e |
line diff
1.1 --- a/libffcall/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/libffcall/receipt Fri Apr 13 20:08:04 2018 +0300 1.3 @@ -1,43 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libffcall" 1.8 VERSION="20091209" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Foreign function call libraries." 1.11 +SHORT_DESC="Foreign function call libraries" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.gnu.org/software/libffcall/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.gnu.org/software/libffcall/" 1.18 WGET_URL="cvs|pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall" 1.19 CVS_MODULE="ffcall" 1.20 1.21 -DEPENDS="" 1.22 -BUILD_DEPENDS="cvs" 1.23 +BUILD_DEPENDS="cvs gfortran" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - #TARBALL=$SRC/$PACKAGE-$VERSION.tar.gz 1.29 - #if [ -f $TARBALL ]; then 1.30 - #tar xzf $TARBALL 1.31 - #else 1.32 - # No official tarball - so we have to use cvs. 1.33 - #cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/libffcall co ffcall || return 1 1.34 +compile_rules() { 1.35 + ./configure $CONFIGURE_ARGS && 1.36 + make -j1 && 1.37 + make install || return 1 1.38 1.39 - # $src = $PACKAGE-$VERSION 1.40 - #mv ffcall $PACKAGE-$VERSION 2>/dev/null 1.41 - #tar czf $TARBALL $PACKAGE-$VERSION 1.42 - #fi 1.43 - cd $src 1.44 - ./configure $CONFIGURE_ARGS && 1.45 - make -j1 && make install 1.46 + mkdir -p $install/usr/share/doc/ 1.47 + mv $install/usr/share/html/ $install/usr/share/doc/$PACKAGE/ 1.48 } 1.49 1.50 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.51 -genpkg_rules() 1.52 -{ 1.53 - mkdir -p $fs/usr/lib 1.54 - cp -a $install/usr/lib $fs/usr 1.55 - cp -a $install/usr/include $fs/usr 1.56 +genpkg_rules() { 1.57 + copy @dev *.la # .a + .la 1.58 } 1.59 -