@ -9,18 +9,18 @@ include $(TOPDIR)/rules.mk
PKG_NAME := gnurl
PKG_VERSION := 7.72.0
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE_URL := @GNU/gnunet
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @GNU/gnunet
PKG_HASH := b1e72be03fcf9b3fdaf01ae0702c686e9de10f67ef538918447c9e81555694f8
PKG_MAINTAINER := Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE := MIT
PKG_LICENSE_FILES := COPYING
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -29,7 +29,6 @@ define Package/gnurl/Default
SECTION:= net
CATEGORY:= Network
URL:= https://gnunet.org/en/gnurl.html
MAINTAINER:= Daniel Golle <daniel@makrotopia.org>
e n d e f
d e f i n e P a c k a g e / g n u r l
@ -94,20 +93,13 @@ CONFIGURE_ARGS += \
--disable-manual \
--disable-verbose
d e f i n e B u i l d / C o m p i l e
+$( MAKE) $( PKG_JOBS) -C $( PKG_BUILD_DIR) \
DESTDIR = " $( PKG_INSTALL_DIR) " \
CC = " $( TARGET_CC) " \
install
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 2) /bin $( 1) /usr/bin $( 1) /usr/include/gnurl $( 1) /usr/lib $( 1) /usr/lib/pkgconfig
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/gnurl-config $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/include/gnurl/*.h $( 1) /usr/include/gnurl
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libgnurl.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_BUILD_DIR) /libgnurl.pc $( 1) /usr/lib/pkgconfig/
$( SED) 's,-L$$$${exec_prefix}/lib, ,g' $( 1) /usr/bin/gnurl-config
$( SED) 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' $( 1) /usr/bin/gnurl-config
[ -n " $( TARGET_LDFLAGS) " ] && $( SED) 's#$(TARGET_LDFLAGS)##g' $( 1) /usr/lib/pkgconfig/libgnurl.pc || true
$( LN) $( STAGING_DIR) /usr/bin/gnurl-config $( 2) /bin/
e n d e f