From 9872f0d8753eda65b8f104b68deccece36867efc Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 23 Aug 2014 14:14:09 +0000 Subject: [PATCH] hyphen: added a recipe for version 2.8.7 --- dev-libs/hyphen/hyphen-2.8.7.recipe | 67 +++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 dev-libs/hyphen/hyphen-2.8.7.recipe diff --git a/dev-libs/hyphen/hyphen-2.8.7.recipe b/dev-libs/hyphen/hyphen-2.8.7.recipe new file mode 100644 index 000000000..ae50f8db1 --- /dev/null +++ b/dev-libs/hyphen/hyphen-2.8.7.recipe @@ -0,0 +1,67 @@ +SUMMARY="ALTLinux hyphenation library" +DESCRIPTION=" +Hyphen is a hyphenation library. +" +HOMEPAGE="http://hunspell.sf.net" +COPYRIGHT=" + 1998 Raph Levien + 2001 ALTLinux, Moscow + " +LICENSE="GNU GPL v2 +GNU LGPL v2.1 +MPL v1.1" +SRC_URI="http://sourceforge.net/projects/hunspell/files/Hyphen/2.8/hyphen-$portVersion.tar.gz" +CHECKSUM_SHA256="c3e66de07f06125536f1fa03a121fa8a4c1b246a3b28a6ccd3cda24bb296f3a7" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + hyphen$secondaryArchSuffix = $portVersion compat >= 2.8 + lib:libhyphen$secondaryArchSuffix = 0.3.0 compat >= 0 + cmd:substrings.pl$secondaryArchSuffix + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize + cmd:make + " + +BUILD() +{ + autoreconf -fi + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libhyphen + fixPkgconfig + + # devel package + packageEntries devel \ + $developDir +} + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + hyphen${secondaryArchSuffix}_devel = $portVersion compat >= 2.8 + devel:libhyphen$secondaryArchSuffix = 0.3.0 compat >= 0 + " +REQUIRES_devel=" + hyphen$secondaryArchSuffix == $portVersion base + "