diff options
| -rw-r--r-- | meta/packages/libidn/libidn_0.5.19.bb | 16 | ||||
| -rw-r--r-- | meta/packages/libidn/libidn_0.6.14.bb | 26 | ||||
| -rw-r--r-- | meta/packages/libidn/libidn_1.19.bb | 20 |
3 files changed, 46 insertions, 16 deletions
diff --git a/meta/packages/libidn/libidn_0.5.19.bb b/meta/packages/libidn/libidn_0.5.19.bb deleted file mode 100644 index 07cdb96470..0000000000 --- a/meta/packages/libidn/libidn_0.5.19.bb +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/libidn/" | ||
| 3 | SECTION = "libs" | ||
| 4 | # change to GPLv3 for >1.0 version | ||
| 5 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | inherit pkgconfig autotools gettext | ||
| 9 | |||
| 10 | SRC_URI = "http://josefsson.org/libidn/releases/${P}.tar.gz" | ||
| 11 | |||
| 12 | EXTRA_OECONF = " --disable-tld" | ||
| 13 | |||
| 14 | do_configure_prepend () { | ||
| 15 | autoreconf -f -i -s | ||
| 16 | } | ||
diff --git a/meta/packages/libidn/libidn_0.6.14.bb b/meta/packages/libidn/libidn_0.6.14.bb new file mode 100644 index 0000000000..17bb103d9e --- /dev/null +++ b/meta/packages/libidn/libidn_0.6.14.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/libidn/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | ||
| 6 | file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
| 7 | file://lib/idna.h;firstline=6;endline=18;md5=6d9d5532eb28b99e860262281c540d02 \ | ||
| 8 | file://src/idn.c;firstline=6;endline=18;md5=41b6aec531cc6a9d54a6c4deee251bf5" | ||
| 9 | PR = "r0" | ||
| 10 | |||
| 11 | inherit pkgconfig autotools gettext | ||
| 12 | |||
| 13 | SRC_URI = "http://alpha.gnu.org/gnu/libidn/${P}.tar.gz" | ||
| 14 | |||
| 15 | EXTRA_OECONF = " --disable-tld" | ||
| 16 | |||
| 17 | do_configure_prepend() { | ||
| 18 | # this version of libidn copies AC_USE_SYSTEM_EXTENSIONS from | ||
| 19 | # autoconf CVS because atm the autoconf it uses is a bit old | ||
| 20 | # now with cross autotool, that macro is already there and this | ||
| 21 | # local definition causes circular dependency. Actually AC_GNU_SOURCE | ||
| 22 | # is identical to AC_USE_SYSTEM_EXTENSIONS. So remove all local | ||
| 23 | # references to the latter here. | ||
| 24 | sed -i -e "/AC_REQUIRE(\[gl_USE_SYSTEM_EXTENSIONS/d" ${S}/lib/gl/m4/gnulib-comp.m4 | ||
| 25 | rm -f ${S}/lib/gl/m4/extensions.m4 | ||
| 26 | } | ||
diff --git a/meta/packages/libidn/libidn_1.19.bb b/meta/packages/libidn/libidn_1.19.bb new file mode 100644 index 0000000000..2e29ade14c --- /dev/null +++ b/meta/packages/libidn/libidn_1.19.bb | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/libidn/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "LGPLv2.1+ & GPLv3+" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 6 | file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | ||
| 7 | file://lib/idna.h;firstline=6;endline=18;md5=643beb30bf98d8c4aed59a51b86fe9ea \ | ||
| 8 | file://src/idn.c;firstline=6;endline=18;md5=07a57d46977b38a2557aac446dda35dd" | ||
| 9 | PR = "r0" | ||
| 10 | |||
| 11 | inherit pkgconfig autotools gettext | ||
| 12 | |||
| 13 | SRC_URI = "http://ftp.gnu.org/gnu/libidn/${P}.tar.gz" | ||
| 14 | |||
| 15 | # command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ | ||
| 16 | # so package command into a separate package | ||
| 17 | PACKAGES =+ "idn" | ||
| 18 | FILES_idn = "${bindir}/*" | ||
| 19 | |||
| 20 | EXTRA_OECONF = " --disable-tld" | ||
