]>
Commit | Line | Data |
---|---|---|
e767635a | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
e767635a MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libidn |
62144100 MT |
7 | version = 1.24 |
8 | release = 1 | |
e767635a | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.gnu.org/software/libidn/ | |
62144100 | 12 | license = GPLv2+ LGPLv3+ |
802ea3af | 13 | summary = Internationalized Domain Name support library. |
e767635a | 14 | |
802ea3af | 15 | description |
e767635a MT |
16 | GNU Libidn is an implementation of the Stringprep, Punycode and \ |
17 | IDNA specifications defined by the IETF Internationalized Domain \ | |
18 | Names (IDN) working group, used for internationalized domain \ | |
19 | names. | |
802ea3af MT |
20 | end |
21 | ||
62144100 | 22 | source_dl = http://ftp.gnu.org/gnu/libidn/ |
802ea3af MT |
23 | |
24 | build | |
25 | configure_options += \ | |
8988c7e1 | 26 | --libdir=/%{lib} \ |
802ea3af MT |
27 | --disable-csharp \ |
28 | --disable-static | |
29 | ||
30 | test | |
62144100 | 31 | export LD_LIBRARY_PATH=$(pwd)/lib/.libs |
802ea3af MT |
32 | make -C tests check |
33 | end | |
34 | ||
35 | install | |
36 | make install DESTDIR=%{BUILDROOT} \ | |
8988c7e1 | 37 | pkgconfigdir=%{libdir}/pkgconfig |
802ea3af | 38 | |
8988c7e1 MT |
39 | mkdir -pv %{BUILDROOT}%{libdir} |
40 | rm -vf %{BUILDROOT}/%{lib}/libidn.so | |
62144100 | 41 | ln -svf ../../%{lib}/libidn.so.11.6.7 %{BUILDROOT}%{libdir}/libidn.so |
802ea3af MT |
42 | end |
43 | end | |
44 | ||
45 | packages | |
46 | package %{name} | |
1f9bc2f0 | 47 | |
802ea3af MT |
48 | package %{name}-devel |
49 | template DEVEL | |
50 | end | |
1f9bc2f0 MT |
51 | |
52 | package %{name}-debuginfo | |
53 | template DEBUGINFO | |
54 | end | |
802ea3af | 55 | end |