summaryrefslogtreecommitdiff
path: root/package/gmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gmp/Makefile')
-rw-r--r--package/gmp/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index b9c627cef..a540491c1 100644
--- a/package/gmp/Makefile
+++ b/package/gmp/Makefile
@@ -4,25 +4,19 @@
include ${TOPDIR}/rules.mk
include ${TOPDIR}/toolchain/gmp/Makefile.inc
+PKG_NAME:= gmp
PKG_DESCR:= GNU multiprecision arithmetic library
PKG_SECTION:= libs
PKG_URL:= http://gmplib.org/
-
-PKG_SUBPKGS:= LIBGMP LIBGMP_DEV
-PKGSC_LIBGMP_DEV:= devel
-PKGSD_LIBGMP_DEV:= libgmp headers
+PKG_LIBNAME:= libgmp
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBGMP_DEV,libgmp-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGMP_DEV},${PKGSC_LIBGMP_DEV}))
+$(eval $(call PKG_template,LIBGMP,libgmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libgmp-install:
${INSTALL_DIR} ${IDIR_LIBGMP}/usr/lib
${CP} ${WRKINST}/usr/lib/libgmp.so* ${IDIR_LIBGMP}/usr/lib
-libgmp-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBGMP_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBGMP_DEV}/usr/include
-
include ${TOPDIR}/mk/pkg-bottom.mk