From c37f3132beac6bf3aac33a79d16206b19282cc8b Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 15 Jan 2015 18:18:09 +0200 Subject: [PATCH] Updated libunistring recipe --- .../libunistring/libunistring-0.9.1.1.recipe | 26 -------- .../libunistring/libunistring-0.9.4.recipe | 61 +++++++++++++++++++ 2 files changed, 61 insertions(+), 26 deletions(-) delete mode 100644 dev-libs/libunistring/libunistring-0.9.1.1.recipe create mode 100644 dev-libs/libunistring/libunistring-0.9.4.recipe diff --git a/dev-libs/libunistring/libunistring-0.9.1.1.recipe b/dev-libs/libunistring/libunistring-0.9.1.1.recipe deleted file mode 100644 index e99f21559..000000000 --- a/dev-libs/libunistring/libunistring-0.9.1.1.recipe +++ /dev/null @@ -1,26 +0,0 @@ -DESCRIPTION=" -libunistring provides functions for manipulating Unicode strings and for \ -manipulating C strings according to the Unicode standard. -" -HOMEPAGE="http://www.gnu.org/software/libunistring/" -SRC_URI="http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.1.1.tar.gz" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="dev-util/git >= 1.6.5.3 - dev-util/gperf >= 3.0.4" -BUILD() -{ - cd libunistring-0.9.1.1 - libtoolize --copy --force --install - ./autogen.sh - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make -} - -INSTALL() -{ - cd libunistring-0.9.1.1 - make install -} -LICENSE="GNU LGPL v2.1" -COPYRIGHT="1998-2009 Free Software Fundation, Inc." diff --git a/dev-libs/libunistring/libunistring-0.9.4.recipe b/dev-libs/libunistring/libunistring-0.9.4.recipe new file mode 100644 index 000000000..e1459bfe4 --- /dev/null +++ b/dev-libs/libunistring/libunistring-0.9.4.recipe @@ -0,0 +1,61 @@ +SUMMARY="A library for manipulating Unicode strings" +DESCRIPTION="libunistring provides functions for manipulating Unicode strings and for \ +manipulating C strings according to the Unicode standard." +HOMEPAGE="http://www.gnu.org/software/libunistring/" +SRC_URI="http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.4.tar.gz" +LICENSE="GNU LGPL v2.1" +COPYRIGHT="1998-2014 Free Software Fundation, Inc." +CHECKSUM_SHA256="f5246d63286a42902dc096d6d44541fbe4204b6c02d6d5d28b457c9882ddd8a6" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + libunistring + lib:libunistring + " + +REQUIRES=" + haiku + cmd:gperf + " + +BUILD_REQUIRES="" + +BUILD_PREREQUIRES=" + haiku_devel + cmd:make + cmd:libtoolize + cmd:git + cmd:autoconf + cmd:gcc + cmd:gperf + " + +PATCH() +{ + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac +} + +BUILD() +{ + libtoolize --copy --force --install + ./autogen.sh + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + prepareInstalledDevelLib libunistring + packageEntries devel \ + $developDir +} + +# ----- Development package ----- + +PROVIDES_devel=" + libunistring_devel + devel:libunistring + " +REQUIRES_devel=""