From 0402c407c99a0eb312899ed931489c7974fb110f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 5 Apr 2011 22:06:59 +0200 Subject: add devel subpackage --- package/libmpc/Makefile | 11 ++++++++--- package/mpfr/Makefile | 16 ++++++++++++---- 2 files changed, 20 insertions(+), 7 deletions(-) (limited to 'package') diff --git a/package/libmpc/Makefile b/package/libmpc/Makefile index 1d976b17e..4c92d1fb1 100644 --- a/package/libmpc/Makefile +++ b/package/libmpc/Makefile @@ -9,14 +9,19 @@ PKG_SECTION:= libs PKG_BUILDDEP:= gmp mpfr PKG_URL:= http://www.multiprecision.org/ -PKG_SUBPKGS:= LIBMPC +PKG_SUBPKGS:= LIBMPC LIBMPC_DEV include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LIBMPC,libmpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBMPC_DEV,libmpc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -post-install: +libmpc-install: ${INSTALL_DIR} ${IDIR_LIBMPC}/usr/lib - ${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libmpc.so* ${IDIR_LIBMPC}/usr/lib + +libmpc-dev-install: + ${INSTALL_DIR} ${IDIR_LIBMPC_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBMPC_DEV}/usr/include include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/mpfr/Makefile b/package/mpfr/Makefile index 77f2c1d6a..a3d91b707 100644 --- a/package/mpfr/Makefile +++ b/package/mpfr/Makefile @@ -6,14 +6,22 @@ include ${TOPDIR}/toolchain/mpfr/Makefile.inc PKG_DESCR:= multi precision library PKG_SECTION:= libs -PKG_URL:= http://www.mpfr.org +PKG_URL:= http://www.mpfr.org/ +PKG_SUBPKGS:= MPFR MPFR_DEV +PKGSC_MPFR_DEV:= devel +PKGSD_MPFR_DEV:= mpfr headers include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,MPFR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,MPFR,mpfr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,MPFR_DEV,mpfr-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MPFR_DEV},${PKGSC_MPFR_DEV})) -post-install: +mpfr-install: ${INSTALL_DIR} ${IDIR_MPFR}/usr/lib - ${CP} ${WRKINST}/usr/lib/libmpfr.so* ${IDIR_MPFR}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libmpfr.so* ${IDIR_MPFR}/usr/lib + +mpfr-dev-install: + ${INSTALL_DIR} ${IDIR_MPFR_DEV}/usr/include + $(CP) $(WRKINST)/usr/include/* ${IDIR_MPFR_DEV}/usr/include include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 4090002fc466e4319c95ab214c3f92ecc7b59184 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 6 Apr 2011 14:03:06 +0200 Subject: new package zip --- package/zip/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/zip/Makefile (limited to 'package') diff --git a/package/zip/Makefile b/package/zip/Makefile new file mode 100644 index 000000000..1cc0f8ec0 --- /dev/null +++ b/package/zip/Makefile @@ -0,0 +1,34 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= zip +PKG_VERSION:= 3.0 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 7b74551e63f8ee6aab6fbc86676c0d37 +PKG_DESCR:= zip compression utility +PKG_SECTION:= archive +PKG_URL:= http://www.info-zip.org/Zip.html +PKG_SITES:= ftp://ftp.info-zip.org/pub/infozip/src/ + +WRKDIST= $(WRKDIR)/$(PKG_NAME)30 +DISTFILES:= $(PKG_NAME)30.tgz + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,ZIP,zip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= minimal +INSTALL_STYLE:= manual + +XAKE_FLAGS+= GCC_HONOUR_COPTS=s +CONFIGURE_PROG:= unix/configure +MAKE_FILE:= unix/Makefile +ALL_TARGET:= generic_gcc + +zip-install: + ${INSTALL_DIR} ${IDIR_ZIP}/usr/bin + ${CP} ${WRKBUILD}/zip ${IDIR_ZIP}/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 18cb3f5227c4012c65b65b25b64b6abf867c8989 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Apr 2011 04:53:48 +0200 Subject: resolve merge conflict --- package/mpfr/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'package') diff --git a/package/mpfr/Makefile b/package/mpfr/Makefile index f4bc9982e..619988cc6 100644 --- a/package/mpfr/Makefile +++ b/package/mpfr/Makefile @@ -16,13 +16,9 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,MPFR,mpfr,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,MPFR_DEV,mpfr-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MPFR_DEV},${PKGSC_MPFR_DEV})) -<<<<<<< HEAD -mpfr-install: -======= TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) -post-install: ->>>>>>> ed73ed80fe75787a18a3ecf2335ff62d799eba01 +mpfr-install: ${INSTALL_DIR} ${IDIR_MPFR}/usr/lib ${CP} ${WRKINST}/usr/lib/libmpfr.so* ${IDIR_MPFR}/usr/lib -- cgit v1.2.3 From e383ef431e9e0bf0d17f5b17676bb351163d37bb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Apr 2011 05:04:46 +0200 Subject: add dbus-binding-tool --- package/dbus-glib/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package') diff --git a/package/dbus-glib/Makefile b/package/dbus-glib/Makefile index f998edca1..a937f5971 100644 --- a/package/dbus-glib/Makefile +++ b/package/dbus-glib/Makefile @@ -39,5 +39,8 @@ dbus-glib-dev-install: $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/lib/pkgconfig ${CP} $(WRKINST)/usr/lib/pkgconfig/*.pc \ $(IDIR_DBUS_GLIB_DEV)/usr/lib/pkgconfig + $(INSTALL_DIR) $(IDIR_DBUS_GLIB_DEV)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/dbus-binding-tool \ + $(IDIR_DBUS_GLIB_DEV)/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 4805e9152978cf1929f165808852bfb95a259e1f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Apr 2011 05:47:21 +0200 Subject: install glib-genmarshal --- package/glib/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package') diff --git a/package/glib/Makefile b/package/glib/Makefile index 4bd99944c..692e5c8af 100644 --- a/package/glib/Makefile +++ b/package/glib/Makefile @@ -72,5 +72,8 @@ glib-dev-install: ${INSTALL_DIR} ${IDIR_GLIB_DEV}/usr/lib/pkgconfig ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \ ${IDIR_GLIB_DEV}/usr/lib/pkgconfig + ${INSTALL_DIR} ${IDIR_GLIB_DEV}/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/glib-genmarshal \ + ${IDIR_GLIB_DEV}/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 756424bc0e4f50f3c709a85d7944494b04a46e3c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 13 Apr 2011 05:47:40 +0200 Subject: add actual the library --- package/ConsoleKit/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') diff --git a/package/ConsoleKit/Makefile b/package/ConsoleKit/Makefile index 4480df4ef..178be1447 100644 --- a/package/ConsoleKit/Makefile +++ b/package/ConsoleKit/Makefile @@ -21,5 +21,7 @@ $(eval $(call PKG_template,CONSOLEKIT,consolekit,$(PKG_VERSION)-${PKG_RELEASE},$ consolekit-install: $(INSTALL_DIR) $(IDIR_CONSOLEKIT)/usr/lib + $(CP) $(WRKINST)/usr/lib/libck-connector.so* \ + $(IDIR_CONSOLEKIT)/usr/lib include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3