summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libXcomposite/Makefile3
-rw-r--r--package/libXcursor/Makefile13
-rw-r--r--package/libfm/Makefile15
-rw-r--r--package/menu-cache/Makefile11
-rw-r--r--package/sqlite/Makefile12
5 files changed, 50 insertions, 4 deletions
diff --git a/package/libXcomposite/Makefile b/package/libXcomposite/Makefile
index 6fb285b24..e0bd7d194 100644
--- a/package/libXcomposite/Makefile
+++ b/package/libXcomposite/Makefile
@@ -30,6 +30,9 @@ libxcomposite-install:
${CP} ${WRKINST}/usr/lib/libXcomposite.so* ${IDIR_LIBXCOMPOSITE}/usr/lib/
libxcomposite-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBXCOMPOSITE_DEV}/usr/lib/pkgconfig
+ ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
+ ${IDIR_LIBXCOMPOSITE_DEV}/usr/lib/pkgconfig
${INSTALL_DIR} ${IDIR_LIBXCOMPOSITE_DEV}/usr/include/X11/extensions
${CP} ${WRKINST}/usr/include/X11/extensions/*.h \
${IDIR_LIBXCOMPOSITE_DEV}/usr/include/X11/extensions
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
diff --git a/package/libfm/Makefile b/package/libfm/Makefile
index 29bd5eb1e..6e48a6784 100644
--- a/package/libfm/Makefile
+++ b/package/libfm/Makefile
@@ -9,14 +9,17 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= 188d0820aa4e8f25f3fb0519813baa68
PKG_DESCR:= libfm library
PKG_SECTION:= x11/lxde
-PKG_BUILDDEP:= menu-cache
-PKG_DEPENDS:= menu-cache
+PKG_BUILDDEP:= menu-cache libXcursor
+PKG_DEPENDS:= menu-cache libxcursor
PKG_URL:= http://lxde.org/
PKG_SITES:= http://openadk.org/distfiles/
+PKG_SUBPKGS:= LIBFM LIBFM_DEV
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBFM,libfm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBFM_DEV,libfm-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CPPFLAGS_FOR_BUILD+= $(shell pkg-config --cflags glib-2.0)
LDFLAGS_FOR_BUILD+= $(shell pkg-config --libs glib-2.0)
@@ -27,4 +30,12 @@ libfm-install:
$(CP) $(WRKINST)/usr/lib/libfm*.so* \
$(IDIR_LIBFM)/usr/lib
+libfm-install-dev:
+ $(INSTALL_DIR) $(IDIR_LIBFM_DEV)/usr/lib/pkgconfig
+ $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
+ $(IDIR_LIBFM_DEV)/usr/lib/pkgconfig
+ $(INSTALL_DIR) $(IDIR_LIBFM_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* \
+ $(IDIR_LIBFM_DEV)/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/menu-cache/Makefile b/package/menu-cache/Makefile
index aaf88040e..f455642e2 100644
--- a/package/menu-cache/Makefile
+++ b/package/menu-cache/Makefile
@@ -12,9 +12,12 @@ PKG_SECTION:= x11/lxde
PKG_URL:= http://lxde.org/
PKG_SITES:= http://openadk.org/distfiles/
+PKG_SUBPKGS:= MENU_CACHE MENU_CACHE_DEV
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MENU_CACHE,menu-cache,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,MENU_CACHE_DEV,menu-cache-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
menu-cache-install:
$(INSTALL_DIR) $(IDIR_MENU_CACHE)/usr/lib
@@ -24,4 +27,12 @@ menu-cache-install:
$(INSTALL_BIN) $(WRKINST)/usr/libexec/menu-cache* \
$(IDIR_MENU_CACHE)/usr/libexec
+menu-cache-dev-install:
+ $(INSTALL_DIR) $(IDIR_MENU_CACHE_DEV)/usr/lib/pkgconfig
+ $(CP) $(WRKINST)/usr/lib/pkgconfig/*.pc \
+ $(IDIR_MENU_CACHE_DEV)/usr/lib/pkgconfig
+ $(INSTALL_DIR) $(IDIR_MENU_CACHE_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* \
+ $(IDIR_MENU_CACHE_DEV)/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index c9eab7a52..2b3e9c5b0 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -16,12 +16,13 @@ PKG_SITES:= http://www.sqlite.org/
DISTFILES:= sqlite-autoconf-3070500.tar.gz
WRKDIST= ${WRKDIR}/sqlite-autoconf-3070500
-PKG_SUBPKGS:= SQLITE_CLI LIBSQLITE
+PKG_SUBPKGS:= SQLITE_CLI LIBSQLITE LIBSQLITE_DEV
PKGSD_LIBSQLITE:= sqlite library
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSQLITE},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBSQLITE_DEV,libsqlite-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBSQLITE},${PKG_SECTION}))
$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
@@ -43,4 +44,13 @@ sqlite-cli-install:
${INSTALL_DIR} ${IDIR_SQLITE_CLI}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/sqlite3 ${IDIR_SQLITE_CLI}/usr/bin
+libsqlite-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBSQLITE_DEV}/usr/lib/pkgconfig
+ ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
+ ${IDIR_LIBSQLITE_DEV}/usr/lib/pkgconfig
+ ${INSTALL_DIR} ${IDIR_LIBSQLITE_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* \
+ ${IDIR_LIBSQLITE_DEV}/usr/include
+
+
include ${TOPDIR}/mk/pkg-bottom.mk