mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libidn exists in net-dns.
This commit is contained in:
@@ -1,102 +0,0 @@
|
||||
SUMMARY="A library to encode and decode internationalized domain names"
|
||||
DESCRIPTION="
|
||||
GNU Libidn is a fully documented implementation of the Stringprep, Punycode \
|
||||
and IDNA specifications. Libidn's purpose is to encode and decode internationalized domain names.
|
||||
"
|
||||
HOMEPAGE="http://www.gnu.org/software/libidn/"
|
||||
SRC_URI="http://ftpmirror.gnu.org/libidn/libidn-1.9.tar.gz"
|
||||
CHECKSUM_SHA256="bd5d01e9e8b2d78b56828e7533a394239146cdca3965b4dd891508cbeb727470"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
REVISION="1"
|
||||
|
||||
LICENSE="
|
||||
GNU GPL v3
|
||||
GNU LGPL v2.1
|
||||
"
|
||||
COPYRIGHT="
|
||||
2004-2008 Simon Josefsson
|
||||
1998, 1999 Tom Tromey
|
||||
2001 Red Hat Software
|
||||
1994-2007 Free Software Foundation
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
libidn = $portVersion
|
||||
lib:libidn$secondaryArchSuffix = $portVersion
|
||||
cmd:idn$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
gettext${secondaryArchSuffix}_libintl
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:gnulib_tool$secondaryArchSuffix
|
||||
cmd:gperf
|
||||
cmd:help2man$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:make
|
||||
cmd:makeinfo
|
||||
"
|
||||
|
||||
PATCHES="libidn-1.9.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
gnulib_tool --import --local-dir=gl/override --source-base=gl \
|
||||
--m4-base=gl/m4 --libtool --no-vc-files \
|
||||
csharpcomp-script error fdl gendocs getopt gnupload gpl-3.0 lgpl-2.1 \
|
||||
maintainer-makefile progname version-etc
|
||||
|
||||
gnulib_tool --import --local-dir=lib/gl/override --source-base=lib/gl \
|
||||
--m4-base=lib/gl/m4 --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files \
|
||||
gettext-h stdint striconv strverscmp
|
||||
|
||||
libtoolize --force --copy --install
|
||||
|
||||
# Libtoolize is going to ask us to add the contents of some files
|
||||
# to aclocal.m4
|
||||
for i in m4/{libtool,lt{options,sugar,version,~obsolete}}.m4; do cat $i >> aclocal.m4; done
|
||||
|
||||
aclocal -I m4 -I gl/m4 -I lib/gl/m4
|
||||
autoconf
|
||||
automake --add-missing
|
||||
|
||||
runConfigure ./configure --enable-shared
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libidn
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$documentationDir
|
||||
}
|
||||
|
||||
# ------ devel package ------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
libidn${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libidn$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libidn$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -ur libidn-1.9-orig/configure.ac libidn-1.9/configure.ac
|
||||
--- libidn-1.9-orig/configure.ac 2013-12-24 15:51:24.035913728 +0000
|
||||
+++ libidn-1.9/configure.ac 2013-12-24 16:39:55.968622080 +0000
|
||||
@@ -28,6 +28,7 @@
|
||||
AC_SUBST(LT_REVISION, 38)
|
||||
AC_SUBST(LT_AGE, 5)
|
||||
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
AM_INIT_AUTOMAKE([1.10])
|
||||
AB_INIT
|
||||
Reference in New Issue
Block a user