diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-23 16:20:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-23 16:20:18 +0200 |
commit | 0d77b6be1aa36597d835b1463a5d284ab9b31418 (patch) | |
tree | 02134c74ee79de2610d532901dd3dc3144fa98dd /package/libXcursor | |
parent | db917f4f7432be6761d54dd8bb5787ac5b8c654b (diff) |
add devel subpackage
Diffstat (limited to 'package/libXcursor')
-rw-r--r-- | package/libXcursor/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/package/libXcursor/Makefile b/package/libXcursor/Makefile index 09c2af9f6..6bcf1883b 100644 --- a/package/libXcursor/Makefile +++ b/package/libXcursor/Makefile @@ -11,13 +11,24 @@ PKG_DESCR:= xcursor library PKG_SECTION:= x11/libs PKG_SITES:= ${MASTER_SITE_XORG} +PKG_SUBPKGS:= LIBXCURSOR LIBXCURSOR_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})) -post-install: +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 |