openbsd-ports/sysutils/libvslvm/Makefile
2019-01-18 19:45:56 +00:00

43 lines
942 B
Makefile

# $OpenBSD: Makefile,v 1.3 2019/01/18 19:45:56 ajacoutot Exp $
COMMENT = library to access the LVM volume system format
VERSION = 20160110
DISTNAME = libvslvm-experimental-${VERSION}
PKGNAME = ${DISTNAME:S/-experimental//}
REVISION = 0
SHARED_LIBS += vslvm 0.0 # 1.0
CATEGORIES = sysutils security
HOMEPAGE = https://github.com/libyal/libvslvm/wiki
MASTER_SITES = https://github.com/libyal/libvslvm/releases/download/${VERSION}/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = ${MODPY_WANTLIB}
WANTLIB += bfio c fuse iconv intl m pthread util
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --enable-python
WRKDIST = ${WRKDIR}/${PKGNAME}
MODULES += lang/python
BUILD_DEPENDS= devel/gettext-tools
LIB_DEPENDS += devel/libbfio
TEST_DEPENDS += shells/bash
pre-test:
sed -i s,#!/bin/bash,#!/${LOCALBASE}/bin/bash, ${WRKSRC}/tests/test_*.sh
.include <bsd.port.mk>