2018-12-09 17:39:42 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://sourceware.org/lvm2/
|
2018-05-26 12:50:04 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="A device-mapper library from LVM2 package"
|
2019-01-24 20:15:44 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-03-01 22:13:50 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-07-23 21:42:41 +02:00
|
|
|
TERMUX_PKG_VERSION=2.03.09
|
2022-03-01 20:38:01 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2019-12-07 10:46:33 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/sourceware/lvm2/releases/LVM2.${TERMUX_PKG_VERSION}.tgz
|
2020-07-23 21:42:41 +02:00
|
|
|
TERMUX_PKG_SHA256=c03a8b8d5c03ba8ac54ebddf670ae0d086edac54a6577e8c50721a8e174eb975
|
2019-02-09 18:13:30 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libaio, readline"
|
2019-07-29 09:17:37 +02:00
|
|
|
TERMUX_PKG_BREAKS="libdevmapper-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libdevmapper-dev"
|
2019-08-13 15:25:48 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2018-05-26 12:50:04 +02:00
|
|
|
|
2021-08-10 15:26:33 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-pkgconfig
|
|
|
|
"
|
|
|
|
|
2018-05-26 12:50:04 +02:00
|
|
|
termux_step_make() {
|
2018-12-15 08:33:25 +01:00
|
|
|
make -j"${TERMUX_MAKE_PROCESSES}" lib.device-mapper
|
2018-05-26 12:50:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
2018-12-15 08:33:25 +01:00
|
|
|
cd libdm
|
|
|
|
make install
|
2018-05-26 12:50:04 +02:00
|
|
|
}
|
|
|
|
|