]>
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 MT |
6 | name = libidn |
7 | version = 1.22 | |
8988c7e1 | 8 | release = 2 |
e767635a | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.gnu.org/software/libidn/ | |
12 | license = LGPLv2+ GPLv3+ | |
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 | ||
22 | source_dl = | |
23 | ||
24 | build | |
25 | configure_options += \ | |
8988c7e1 | 26 | --libdir=/%{lib} \ |
802ea3af MT |
27 | --disable-csharp \ |
28 | --disable-static | |
29 | ||
30 | test | |
31 | make -C tests check | |
32 | end | |
33 | ||
34 | install | |
35 | make install DESTDIR=%{BUILDROOT} \ | |
8988c7e1 | 36 | pkgconfigdir=%{libdir}/pkgconfig |
802ea3af | 37 | |
8988c7e1 MT |
38 | mkdir -pv %{BUILDROOT}%{libdir} |
39 | rm -vf %{BUILDROOT}/%{lib}/libidn.so | |
40 | ln -svf ../../%{lib}/libidn.so.11.6.5 %{BUILDROOT}%{libdir}/libidn.so | |
802ea3af MT |
41 | end |
42 | end | |
43 | ||
44 | packages | |
45 | package %{name} | |
1f9bc2f0 | 46 | |
802ea3af MT |
47 | package %{name}-devel |
48 | template DEVEL | |
49 | end | |
1f9bc2f0 MT |
50 | |
51 | package %{name}-debuginfo | |
52 | template DEBUGINFO | |
53 | end | |
802ea3af | 54 | end |