diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 17:20:24 +0200 |
commit | 90d5c8b73e8d538e121275b12e714332ca785cff (patch) | |
tree | b70121e4732d658097d1db00c8af381629ec82eb /package/libXcursor | |
parent | 33dd541790614765228a71477e1f8b2b6aa21ce1 (diff) |
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libXcursor')
-rw-r--r-- | package/libXcursor/Makefile | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libXcursor/Makefile b/package/libXcursor/Makefile index b007823c8..286f5bfed 100644 --- a/package/libXcursor/Makefile +++ b/package/libXcursor/Makefile @@ -5,33 +5,21 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libXcursor PKG_VERSION:= 1.1.13 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 38a6c7ce393cb5bc10e67de087f9d582 PKG_DESCR:= xcursor library PKG_SECTION:= x11/libs PKG_SITES:= ${MASTER_SITE_XORG} PKG_BUILDDEP:= libXfixes libXrender - -PKG_SUBPKGS:= LIBXCURSOR LIBXCURSOR_DEV -PKGSC_LIBXCURSOR_DEV:= x11/devel -PKGSD_LIBXCURSOR_DEV:= libXcursor development files +PKG_OPTS:= dev include $(TOPDIR)/mk/package.mk -$(eval $(call PKG_template,LIBXCURSOR,libxcursor,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,LIBXCURSOR_DEV,libxcursor-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBXCURSOR,libxcursor,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) libxcursor-install: $(INSTALL_DIR) $(IDIR_LIBXCURSOR)/usr/lib $(CP) $(WRKINST)/usr/lib/libXcursor*.so* \ $(IDIR_LIBXCURSOR)/usr/lib -libxcursor-dev-install: - $(INSTALL_DIR) $(IDIR_LIBXCURSOR_DEV)/usr/lib/pkgconfig - $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \ - $(IDIR_LIBXCURSOR_DEV)/usr/lib/pkgconfig - $(INSTALL_DIR) $(IDIR_LIBXCURSOR_DEV)/usr/include - $(CP) $(WRKINST)/usr/include/* \ - $(IDIR_LIBXCURSOR_DEV)/usr/include - include ${TOPDIR}/mk/pkg-bottom.mk |