]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - expat/expat.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / expat / expat.nm
index d03a8bcf1cf9c788d178a4f9324f865bf754055e..0114515b991e9cd349423867fdbf0341d7d48ed1 100644 (file)
@@ -4,40 +4,34 @@
 ###############################################################################
 
 name       = expat
-version    = 2.0.1
-release    = 1
+version    = 2.5.0
+release    = 1.1
 
 groups     = System/Libraries
-url        = http://www.libexpat.org/
+url        = https://www.libexpat.org/
 license    = MIT
-summary    = An XML parser library.
+summary    = An XML parser library
 
 description
-       This is expat, the C library for parsing XML, written by James Clark. Expat \
-       is a stream oriented XML parser. This means that you register handlers with \
-       the parser prior to starting the parse. These handlers are called when the \
-       parser discovers the associated structures in the document being parsed. A \
-       start tag is an example of the kind of structures for which you may \
+       This is expat, the C library for parsing XML, written by James Clark. Expat
+       is a stream oriented XML parser. This means that you register handlers with
+       the parser prior to starting the parse. These handlers are called when the
+       parser discovers the associated structures in the document being parsed. A
+       start tag is an example of the kind of structures for which you may
        register handlers.
 end
 
-source_dl  =
+source_dl  = https://github.com/libexpat/libexpat/releases/download/R_2_5_0/
+sources    = %{thisapp}.tar.xz
 
 build
-       configure_options += \
-               --libdir=/lib \
-               --mandir=/usr/share
-
-       install_cmds
-               rm -vf %{BUILDROOT}/lib/libexpat.so
-               mkdir -pv %{BUILDROOT}/usr/lib
-               ln -svf ../../lib/libexpat.so.1 %{BUILDROOT}/usr/lib/libexpat.so
+       test
+               make check
        end
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL