summaryrefslogtreecommitdiff
path: root/package/orbit2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/orbit2/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/orbit2/Makefile')
-rw-r--r--package/orbit2/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/package/orbit2/Makefile b/package/orbit2/Makefile
index 3713ad403..cc8774e89 100644
--- a/package/orbit2/Makefile
+++ b/package/orbit2/Makefile
@@ -6,24 +6,21 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= ORBit2
PKG_VERSION:= 2.14.19
PKG_EXTRAVER:= 2.14
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 87c69c56c6d0bdafa4de5e18ae115cc9
PKG_DESCR:= a CORBA 2.4-compliant Object Request Broker
PKG_SECTION:= libs
PKG_BUILDDEP:= libIDL
PKG_URL:= http://projects.gnome.org/ORBit2/
PKG_SITES:= ftp://ftp.gnome.org//pub/gnome/sources/ORBit2/${PKG_EXTRAVER}/
+PKG_LIBNAME:= orbit2
+PKG_OPTS:= dev
PKG_ARCH_DEPENDS:= !cris
-PKG_SUBPKGS:= ORBIT2 ORBIT2_DEV
-PKGSD_ORBIT2_DEV:= orbit2 headers
-PKGSC_ORBIT2_DEV:= devel
-
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,ORBIT2_DEV,orbit2-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ORBIT2_DEV},${PKGSC_ORBIT2_DEV}))
+$(eval $(call PKG_template,ORBIT2,orbit2,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CFLAGS_FOR_BUILD+= $(shell ${BUILD_LIBIDL_CONFIG} --cflags)
LDFLAGS_FOR_BUILD+= $(shell ${BUILD_LIBIDL_CONFIG} --libs)
@@ -53,12 +50,4 @@ orbit2-install:
$(CP) $(WRKINST)/usr/bin/orbit-idl-2 \
$(STAGING_DIR)/usr/bin
-orbit2-dev-install:
- $(INSTALL_DIR) $(IDIR_ORBIT2_DEV)/usr/include
- $(CP) $(WRKINST)/usr/include/* \
- $(IDIR_ORBIT2_DEV)/usr/include
- $(INSTALL_DIR) $(IDIR_ORBIT2_DEV)/usr/lib/pkgconfig
- $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
- $(IDIR_ORBIT2_DEV)/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk