]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - libidn/libidn.nm
kernel: Compress modules with XZ
[people/pmueller/ipfire-3.x.git] / libidn / libidn.nm
index 35109f7ec63958bdd2afccba3549a5d62b2bd061..333d73c73d697150f711a6fb1422d0af736b5507 100644 (file)
@@ -4,12 +4,12 @@
 ###############################################################################
 
 name       = libidn
-version    = 1.22
+version    = 1.32
 release    = 1
 
 groups     = System/Libraries
 url        = http://www.gnu.org/software/libidn/
-license    = LGPLv2+ GPLv3+
+license    = GPLv2+ LGPLv3+
 summary    = Internationalized Domain Name support library.
 
 description
@@ -19,33 +19,27 @@ description
        names.
 end
 
-source_dl  =
+source_dl  = http://ftp.gnu.org/gnu/libidn/
 
 build
        configure_options += \
-               --libdir=/lib \
                --disable-csharp \
                --disable-static
 
        test
+               export LD_LIBRARY_PATH=$(pwd)/lib/.libs
                make -C tests check
        end
-
-       install
-               make install DESTDIR=%{BUILDROOT} \
-                       pkgconfigdir=/usr/lib/pkgconfig
-
-               mkdir -pv %{BUILDROOT}/usr/lib
-               rm -vf %{BUILDROOT}/lib/libidn.so
-               ln -svf ../../lib/libidn.so.11.6.5 %{BUILDROOT}/usr/lib/libidn.so
-       end
 end
 
 packages
        package %{name}
-       end
-       
+
        package %{name}-devel
                template DEVEL
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end