summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-22 11:38:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-22 11:38:57 +0100
commitd8cb09edc83a200d5c4f73ce3f0b312de7342b53 (patch)
treeb2af2abeacb2e22421767913ef417a07fef1b901
parent15f7f8f402eab5b7cd03094c358435c4c880b5b6 (diff)
parent3b9b034c7eef47560d4bbd5e6a0812892a31fb3f (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--package/libusb-compat/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/libusb-compat/Makefile b/package/libusb-compat/Makefile
index 452616011..81dcfcd49 100644
--- a/package/libusb-compat/Makefile
+++ b/package/libusb-compat/Makefile
@@ -14,13 +14,17 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libusb/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBUSB_COMPAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBUSB_COMPAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
-INSTALL_STYLE:= auto confprog
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_LIBUSB_COMPAT}/usr/lib