Merged in TheNavigator/haikuports (pull request #468)

Updated libunistring recipe
This commit is contained in:
Scott McCreary
2015-01-20 15:28:13 -08:00
2 changed files with 61 additions and 26 deletions

View File

@@ -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."

View File

@@ -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=""