]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - libidn/libidn.nm
openvswitch: Add service file for systemd.
[people/amarx/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.24
8 release = 1
9
10 groups = System/Libraries
11 url = http://www.gnu.org/software/libidn/
12 license = GPLv2+ LGPLv3+
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 = http://ftp.gnu.org/gnu/libidn/
23
24 build
25 configure_options += \
26 --libdir=/%{lib} \
27 --disable-csharp \
28 --disable-static
29
30 test
31 export LD_LIBRARY_PATH=$(pwd)/lib/.libs
32 make -C tests check
33 end
34
35 install
36 make install DESTDIR=%{BUILDROOT} \
37 pkgconfigdir=%{libdir}/pkgconfig
38
39 mkdir -pv %{BUILDROOT}%{libdir}
40 rm -vf %{BUILDROOT}/%{lib}/libidn.so
41 ln -svf ../../%{lib}/libidn.so.11.6.7 %{BUILDROOT}%{libdir}/libidn.so
42 end
43 end
44
45 packages
46 package %{name}
47
48 package %{name}-devel
49 template DEVEL
50 end
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55 end