]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - libidn/libidn.nm
libidn: Make package work on x86_64.
[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
MT
6name = libidn
7version = 1.22
8988c7e1 8release = 2
e767635a 9
802ea3af
MT
10groups = System/Libraries
11url = http://www.gnu.org/software/libidn/
12license = LGPLv2+ GPLv3+
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
22source_dl =
23
24build
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
42end
43
44packages
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 54end