wok rev 22790

renamed enchant 2.2.7 to enchant2 and restored enchant 1.6.0 as enchant
author Hans-G?nter Theisgen
date Mon Jan 27 08:56:40 2020 +0100 (2020-01-27)
parents 8b1698fee11d
children 736b965f54dc
files enchant-dev/receipt enchant/receipt enchant2-dev/receipt enchant2/receipt
line diff
     1.1 --- a/enchant-dev/receipt	Mon Jan 27 07:44:14 2020 +0100
     1.2 +++ b/enchant-dev/receipt	Mon Jan 27 08:56:40 2020 +0100
     1.3 @@ -1,26 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="enchant-dev"
     1.7 -VERSION="2.2.7"
     1.8 +VERSION="1.6.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Development files for enchant."
    1.11 +SHORT_DESC="Devel files for enchant."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="https://www.abisource.com/projects/enchant/"
    1.15 +WANTED="enchant"
    1.16 +WEB_SITE="http://www.abisource.com/projects/enchant/"
    1.17 +HOST_ARCH="i486 arm"
    1.18  
    1.19  DEPENDS="enchant pkg-config"
    1.20 -WANTED="enchant"
    1.21 -
    1.22 -HOST_ARCH="i486 arm"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/lib
    1.28 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.29 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.30 +	cp -a $install/usr/lib/enchant $fs/usr/lib
    1.31 +	rm $fs/usr/lib/enchant/*.so
    1.32 +	cp -a $install/usr/include $fs/usr
    1.33 +}
    1.34  
    1.35 -	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.36 -	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.37 -	cp -a $install/usr/lib/enchant-2	$fs/usr/lib
    1.38 -	rm					$fs/usr/lib/enchant-2/*.so
    1.39 -	cp -a $install/usr/include		$fs/usr
    1.40 -}
     2.1 --- a/enchant/receipt	Mon Jan 27 07:44:14 2020 +0100
     2.2 +++ b/enchant/receipt	Mon Jan 27 08:56:40 2020 +0100
     2.3 @@ -1,43 +1,37 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="enchant"
     2.7 -VERSION="2.2.7"
     2.8 +VERSION="1.6.0"
     2.9  CATEGORY="x-window"
    2.10 -TAGS="spell check"
    2.11  SHORT_DESC="Enchant spell checking library."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="LGPL2.1"
    2.14 -WEB_SITE="https://www.abisource.com/projects/enchant/"
    2.15 +SUGGESTED="aspell"
    2.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 +WEB_SITE="http://www.abisource.com/projects/enchant/"
    2.18 +WGET_URL="http://www.abisource.com/downloads/enchant/$VERSION/$TARBALL"
    2.19 +TAGS="spell check"
    2.20 +HOST_ARCH="i486 arm"
    2.21  
    2.22 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.23 -WGET_URL="https://github.com/AbiWord/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    2.24 -
    2.25 -SUGGESTED="aspell"
    2.26 -DEPENDS="dbus dbus-glib gcc83-lib-base glib"
    2.27 -BUILD_DEPENDS="aspell-dev gcc83 glib-dev pkg-config"
    2.28 -
    2.29 -HOST_ARCH="i486 arm"
    2.30 +DEPENDS="dbus dbus-glib glib gcc-lib-base"
    2.31 +BUILD_DEPENDS="pkg-config glib glib-dev aspell-dev"
    2.32  
    2.33  # Rules to configure and make the package.
    2.34  compile_rules()
    2.35  {
    2.36 -	./configure		\
    2.37 -		CC=gcc-83	\
    2.38 -		CXX=g++-83	\
    2.39 +	./configure \
    2.40  		$CONFIGURE_ARGS &&
    2.41 -	make &&
    2.42 -	make install
    2.43 +	make && make install
    2.44  }
    2.45  
    2.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.47  genpkg_rules()
    2.48  {
    2.49 -	mkdir -p $fs/usr/lib
    2.50 -	mkdir -p $fs/usr/share
    2.51 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.52 +	cp -a $install/usr/bin $fs/usr
    2.53 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.54 +	cp -a $install/usr/lib/enchant $fs/usr/lib
    2.55 +	rm $fs/usr/lib/enchant/*.*a
    2.56 +	cp -a $install/usr/share/enchant $fs/usr/share
    2.57 +}
    2.58  
    2.59 -	cp -a $install/usr/bin			$fs/usr
    2.60 -	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    2.61 -	cp -a $install/usr/lib/enchant-2	$fs/usr/lib
    2.62 -	rm					$fs/usr/lib/enchant-2/*.*a
    2.63 -	cp -a $install/usr/share/enchant	$fs/usr/share
    2.64 -}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/enchant2-dev/receipt	Mon Jan 27 08:56:40 2020 +0100
     3.3 @@ -0,0 +1,26 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="enchant2-dev"
     3.7 +VERSION="2.2.7"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Development files for enchant."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +LICENSE="LGPL2.1"
    3.12 +WEB_SITE="https://www.abisource.com/projects/enchant/"
    3.13 +
    3.14 +DEPENDS="enchant pkg-config"
    3.15 +WANTED="enchant"
    3.16 +
    3.17 +HOST_ARCH="i486 arm"
    3.18 +
    3.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.20 +genpkg_rules()
    3.21 +{
    3.22 +	mkdir -p $fs/usr/lib
    3.23 +
    3.24 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    3.25 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    3.26 +	cp -a $install/usr/lib/enchant-2	$fs/usr/lib
    3.27 +	rm					$fs/usr/lib/enchant-2/*.so
    3.28 +	cp -a $install/usr/include		$fs/usr
    3.29 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/enchant2/receipt	Mon Jan 27 08:56:40 2020 +0100
     4.3 @@ -0,0 +1,43 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="enchant2"
     4.7 +VERSION="2.2.7"
     4.8 +CATEGORY="x-window"
     4.9 +TAGS="spell check"
    4.10 +SHORT_DESC="Enchant spell checking library."
    4.11 +MAINTAINER="pankso@slitaz.org"
    4.12 +LICENSE="LGPL2.1"
    4.13 +WEB_SITE="https://www.abisource.com/projects/enchant/"
    4.14 +
    4.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.16 +WGET_URL="https://github.com/AbiWord/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    4.17 +
    4.18 +SUGGESTED="aspell"
    4.19 +DEPENDS="dbus dbus-glib gcc83-lib-base glib"
    4.20 +BUILD_DEPENDS="aspell-dev gcc83 glib-dev pkg-config"
    4.21 +
    4.22 +HOST_ARCH="i486 arm"
    4.23 +
    4.24 +# Rules to configure and make the package.
    4.25 +compile_rules()
    4.26 +{
    4.27 +	./configure		\
    4.28 +		CC=gcc-83	\
    4.29 +		CXX=g++-83	\
    4.30 +		$CONFIGURE_ARGS &&
    4.31 +	make &&
    4.32 +	make install
    4.33 +}
    4.34 +
    4.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.36 +genpkg_rules()
    4.37 +{
    4.38 +	mkdir -p $fs/usr/lib
    4.39 +	mkdir -p $fs/usr/share
    4.40 +
    4.41 +	cp -a $install/usr/bin			$fs/usr
    4.42 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    4.43 +	cp -a $install/usr/lib/enchant-2	$fs/usr/lib
    4.44 +	rm					$fs/usr/lib/enchant-2/*.*a
    4.45 +	cp -a $install/usr/share/enchant	$fs/usr/share
    4.46 +}