summaryrefslogtreecommitdiff
path: root/package/lvm/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/lvm/Makefile
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/lvm/Makefile')
-rw-r--r--package/lvm/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/lvm/Makefile b/package/lvm/Makefile
index 5120212a0..0aca2c6c9 100644
--- a/package/lvm/Makefile
+++ b/package/lvm/Makefile
@@ -13,17 +13,19 @@ PKG_DEPENDS:= libdevmapper libncurses
PKG_URL:= http://sourceware.org/lvm2/
PKG_SITES:= ftp://sources.redhat.com/pub/lvm2/
-PKG_DESCR_DM:= device-mapper utility
-PKG_DESCR_LIBDM:= device-mapper library
-PKG_SECTION_LIBDM:= libs
+PKG_SUBPKGS:= LVM DEVICE_MAPPER LIBDEVMAPPER
+PKGSD_DEVICE_MAPPER:= device-mapper utility
+PKGSD_LIBDEVMAPPER:= device-mapper library
+PKGSC_LIBDEVMAPPER:= libs
+
DISTFILES:= LVM2.${PKG_VERSION}.tgz
WRKDIST= ${WRKDIR}/LVM2.${PKG_VERSION}
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LVM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,DEVICE_MAPPER,device-mapper,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR_DM},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBDEVMAPPER,libdevmapper,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR_LIBDM},${PKG_SECTION_LIBDM}))
+$(eval $(call PKG_template,DEVICE_MAPPER,device-mapper,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_DEVICE_MAPPER},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBDEVMAPPER,libdevmapper,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBDEVMAPPER},${PKGSC_LIBDEVMAPPER}))
CONFIGURE_ARGS+= --with-user="" --with-group="" \
--with-optimisation="" \