@ -8,16 +8,21 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := confuse
PKG_NAME := confuse
PKG_VERSION := 3.2.2
PKG_VERSION := 3.3
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := https://github.com/martinh/libconfuse/releases/download/v$( PKG_VERSION)
PKG_SOURCE_URL := https://github.com/martinh/libconfuse/releases/download/v$( PKG_VERSION)
PKG_HASH := a9240b653d02e8cfc52db48e8c4224426e528e1faa09b65e8ca08a197fad210b
PKG_HASH := 1dd50a0320e135a55025b23fcdbb3f0a81913b6d0b0a9df8cc2fdf3b3dc67010
PKG_MAINTAINER :=
PKG_MAINTAINER :=
PKG_LICENSE := ISC
PKG_LICENSE := ISC
PKG_LICENSE_FILES := LICENSE
PKG_CPE_ID := cpe:/a:libconfuse_project:libconfuse
PKG_CPE_ID := cpe:/a:libconfuse_project:libconfuse
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
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / c o n f u s e
d e f i n e P a c k a g e / c o n f u s e
@ -42,33 +47,21 @@ define Package/confuse/description
before, but was changed to not confuse with other similar libraries.
before, but was changed to not confuse with other similar libraries.
e n d e f
e n d e f
TARGET_CFLAGS += $( FPIC)
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--enable-shared \
--enable-shared \
--enable-static \
--enable-static \
--disable-rpath \
--disable-rpath \
--without-libiconv-prefix \
--without-libiconv-prefix \
--without-libintl-prefix \
--without-libintl-prefix \
--disable-examples
MAKE_FLAGS += \
-C $( PKG_BUILD_DIR) /src \
DESTDIR = " $( PKG_INSTALL_DIR) " \
all install \
--disable-examples \
--with-pic
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/include/confuse.h $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/include/confuse.h $( 1) /usr/include/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libconfuse.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libconfuse.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_BUILD_DIR) /*.pc $( 1) /usr/lib/pkgconfig/
e n d e f
d e f i n e B u i l d / U n i n s t a l l D e v
rm -rf \
$( STAGING_DIR) /usr/include/confuse.h \
$( STAGING_DIR) /usr/lib/libconfuse.{ a,so*}
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libconfuse.pc $( 1) /usr/lib/pkgconfig/
e n d e f
e n d e f
d e f i n e P a c k a g e / c o n f u s e / i n s t a l l
d e f i n e P a c k a g e / c o n f u s e / i n s t a l l