wok-next rev 19739

Up afpfs-ng and aiksaurus to v2
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 05 04:30:15 2017 +0000 (2017-06-05)
parents 67b42e3fb164
children 765ba71df4e0
files afpfs-ng-dev/receipt afpfs-ng/receipt aiksaurus-dev/receipt aiksaurus/receipt
line diff
     1.1 --- a/afpfs-ng-dev/receipt	Mon Jun 05 04:18:40 2017 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,17 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="afpfs-ng-dev"
     1.7 -VERSION="0.8.1"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="The free afpfs driver development files"
    1.10 -MAINTAINER="pascal.bellard@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://alexthepuffin.googlepages.com/"
    1.13 -WANTED="afpfs-ng"
    1.14 -
    1.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 -genpkg_rules()
    1.17 -{
    1.18 -	mkdir -p $fs/usr/lib
    1.19 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.20 -}
     2.1 --- a/afpfs-ng/receipt	Mon Jun 05 04:18:40 2017 +0000
     2.2 +++ b/afpfs-ng/receipt	Mon Jun 05 04:30:15 2017 +0000
     2.3 @@ -1,4 +1,4 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="afpfs-ng"
     2.8  VERSION="0.8.1"
     2.9 @@ -10,8 +10,8 @@
    2.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.12  
    2.13 -DEPENDS="fuse libgcrypt readline gmp"
    2.14  BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev automake"
    2.15 +SPLIT="afpfs-ng"
    2.16  
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19 @@ -23,7 +23,14 @@
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23 -	mkdir -p $fs/usr/lib
    2.24 -	cp -a $install/usr/bin $fs/usr
    2.25 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.26 +	case $PACKAGE in
    2.27 +		afpfs-ng)
    2.28 +			copy @std
    2.29 +			DEPENDS="fuse libgcrypt readline gmp"
    2.30 +			;;
    2.31 +		afpfs-ng-dev)
    2.32 +			copy @dev
    2.33 +			DEPENDS="afpfs-ng"
    2.34 +			;;
    2.35 +	esac
    2.36  }
     3.1 --- a/aiksaurus-dev/receipt	Mon Jun 05 04:18:40 2017 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,22 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="aiksaurus-dev"
     3.7 -VERSION="1.2.1"
     3.8 -CATEGORY="system-tools"
     3.9 -SHORT_DESC="A cross-platform, open-source thesaurus devel files."
    3.10 -MAINTAINER="gokhlayeh@slitaz.org"
    3.11 -LICENSE="GPL2"
    3.12 -WANTED="aiksaurus"
    3.13 -WEB_SITE="http://aiksaurus.sourceforge.net/"
    3.14 -
    3.15 -DEPENDS="pkg-config"
    3.16 -
    3.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 -genpkg_rules()
    3.19 -{
    3.20 -	mkdir -p $fs/usr/lib
    3.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.23 -	cp -a $install/usr/include $fs/usr
    3.24 -}
    3.25 -
     4.1 --- a/aiksaurus/receipt	Mon Jun 05 04:18:40 2017 +0000
     4.2 +++ b/aiksaurus/receipt	Mon Jun 05 04:30:15 2017 +0000
     4.3 @@ -1,4 +1,4 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="aiksaurus"
     4.8  VERSION="1.2.1"
     4.9 @@ -10,8 +10,8 @@
    4.10  WEB_SITE="http://aiksaurus.sourceforge.net/"
    4.11  WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
    4.12  
    4.13 -DEPENDS="gtk+ expat xorg-libXau glib"
    4.14  BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev"
    4.15 +SPLIT="aiksaurus-dev"
    4.16  
    4.17  # Rules to configure and make the package.
    4.18  compile_rules()
    4.19 @@ -25,8 +25,15 @@
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.21  genpkg_rules()
    4.22  {
    4.23 -	mkdir -p $fs/usr/lib
    4.24 -	cp -a $install/usr/bin $install/usr/share $fs/usr
    4.25 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.26 +	case $PACKAGE in
    4.27 +		aiksaurus)
    4.28 +			copy @std
    4.29 +			DEPENDS="gtk+ expat xorg-libXau glib"
    4.30 +			;;
    4.31 +		aiksaurus-dev)
    4.32 +			copy @dev
    4.33 +			DEPENDS="aiksaurus pkg-config"
    4.34 +			;;
    4.35 +	esac
    4.36  }
    4.37