]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libidn/libidn.nm
libidn: Update to 1.24.
[people/ms/ipfire-3.x.git] / libidn / libidn.nm
CommitLineData
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 6name = libidn
62144100
MT
7version = 1.24
8release = 1
e767635a 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.gnu.org/software/libidn/
62144100 12license = GPLv2+ LGPLv3+
802ea3af 13summary = Internationalized Domain Name support library.
e767635a 14
802ea3af 15description
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
20end
21
62144100 22source_dl = http://ftp.gnu.org/gnu/libidn/
802ea3af
MT
23
24build
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
43end
44
45packages
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 55end