]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - libidn/libidn.nm
libidn: Make package work on x86_64.
[people/ms/ipfire-3.x.git] / libidn / libidn.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libidn
7 version = 1.22
8 release = 2
9
10 groups = System/Libraries
11 url = http://www.gnu.org/software/libidn/
12 license = LGPLv2+ GPLv3+
13 summary = Internationalized Domain Name support library.
14
15 description
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.
20 end
21
22 source_dl =
23
24 build
25 configure_options += \
26 --libdir=/%{lib} \
27 --disable-csharp \
28 --disable-static
29
30 test
31 make -C tests check
32 end
33
34 install
35 make install DESTDIR=%{BUILDROOT} \
36 pkgconfigdir=%{libdir}/pkgconfig
37
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
41 end
42 end
43
44 packages
45 package %{name}
46
47 package %{name}-devel
48 template DEVEL
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end