# HG changeset patch # User Christopher Rogers # Date 1496637015 0 # Node ID 4affba7076646a93378a7da9d7ebb7097987129b # Parent 67b42e3fb16483d29078410f57d82403778f185c Up afpfs-ng and aiksaurus to v2 diff -r 67b42e3fb164 -r 4affba707664 afpfs-ng-dev/receipt --- a/afpfs-ng-dev/receipt Mon Jun 05 04:18:40 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="afpfs-ng-dev" -VERSION="0.8.1" -CATEGORY="development" -SHORT_DESC="The free afpfs driver development files" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://alexthepuffin.googlepages.com/" -WANTED="afpfs-ng" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*a $fs/usr/lib -} diff -r 67b42e3fb164 -r 4affba707664 afpfs-ng/receipt --- a/afpfs-ng/receipt Mon Jun 05 04:18:40 2017 +0000 +++ b/afpfs-ng/receipt Mon Jun 05 04:30:15 2017 +0000 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="afpfs-ng" VERSION="0.8.1" @@ -10,8 +10,8 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="fuse libgcrypt readline gmp" BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev automake" +SPLIT="afpfs-ng" # Rules to configure and make the package. compile_rules() @@ -23,7 +23,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + case $PACKAGE in + afpfs-ng) + copy @std + DEPENDS="fuse libgcrypt readline gmp" + ;; + afpfs-ng-dev) + copy @dev + DEPENDS="afpfs-ng" + ;; + esac } diff -r 67b42e3fb164 -r 4affba707664 aiksaurus-dev/receipt --- a/aiksaurus-dev/receipt Mon Jun 05 04:18:40 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="aiksaurus-dev" -VERSION="1.2.1" -CATEGORY="system-tools" -SHORT_DESC="A cross-platform, open-source thesaurus devel files." -MAINTAINER="gokhlayeh@slitaz.org" -LICENSE="GPL2" -WANTED="aiksaurus" -WEB_SITE="http://aiksaurus.sourceforge.net/" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r 67b42e3fb164 -r 4affba707664 aiksaurus/receipt --- a/aiksaurus/receipt Mon Jun 05 04:18:40 2017 +0000 +++ b/aiksaurus/receipt Mon Jun 05 04:30:15 2017 +0000 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="aiksaurus" VERSION="1.2.1" @@ -10,8 +10,8 @@ WEB_SITE="http://aiksaurus.sourceforge.net/" WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" -DEPENDS="gtk+ expat xorg-libXau glib" BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev" +SPLIT="aiksaurus-dev" # Rules to configure and make the package. compile_rules() @@ -25,8 +25,15 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $install/usr/share $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + case $PACKAGE in + aiksaurus) + copy @std + DEPENDS="gtk+ expat xorg-libXau glib" + ;; + aiksaurus-dev) + copy @dev + DEPENDS="aiksaurus pkg-config" + ;; + esac }