ping from core/iputils depends on it and will
be installed to /bin.
endef
PKG_TARBALL = $(THISAPP).tar.gz
+
+CONFIGURE_OPTIONS += \
+ --libdir=/lib \
+ --disable-csharp \
+ --disable-static
+
+define STAGE_TEST
+ cd $(DIR_APP) && make -C tests check
+endef
+
+define STAGE_INSTALL
+ cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) \
+ pkgconfigdir=/usr/lib/pkgconfig
+
+ # Make multilib safe:
+ cd $(DIR_APP) && sed -i '/gnu compiler/d' $(BUILDROOT)/usr/include/idn-int.h
+
+ -mkdir -pv $(BUILDROOT)/usr/lib
+ rm -vf $(BUILDROOT)/lib/libidn.so
+ ln -svf ../../lib/libidn.so.11.5.28 $(BUILDROOT)/usr/lib/libidn.so
+endef