]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/libinih
Merge branch 'next'
[ipfire-2.x.git] / lfs / libinih
similarity index 89%
rename from lfs/python-feedparser
rename to lfs/libinih
index e89018d0a95e66b5294d1b8796f0f3564c64b235..bfecc35de0cda1197481fa73324957d0ac137b34 100644 (file)
 
 include Config
 
-VER        = 4.1
+VER        = r53
 
-THISAPP    = feedparser-$(VER)
+THISAPP    = inih-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-PROG       = python-feedparser
-PAK_VER    = 2
+PROG       = libinih
 
-DEPS       = python-mechanize
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = a8fcb5fd0868e34271fc182d6ae03801
+$(DL_FILE)_MD5 = 8b52bf308de2ad1eab94fad64c116610
 
 install : $(TARGET)
 
@@ -76,7 +74,10 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && python setup.py install
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       $(UPDATE_AUTOMAKE)
+       cd $(DIR_APP) && meson --prefix=/usr builddir/
+       cd $(DIR_APP) && ninja -C builddir/
+       cd $(DIR_APP) && ninja -C builddir/ install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)