43 lines
936 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 2019/07/12 20:49:45 sthen Exp $
COMMENT = library and tools to access the QEMU Copy-On-Write (QCOW)
VERSION = 20170222
DISTNAME = libqcow-alpha-${VERSION}
PKGNAME = ${DISTNAME:S/-alpha//}
REVISION = 0
SHARED_LIBS += qcow 0.0 # 1.0
CATEGORIES = sysutils security
HOMEPAGE = https://github.com/libyal/libqcow/wiki
MASTER_SITES = https://github.com/libyal/libqcow/releases/download/${VERSION}/
MAINTAINER = Remi Pointel <rpointel@openbsd.org>
# LGPLv3+
PERMIT_PACKAGE = Yes
WANTLIB = ${MODPY_WANTLIB}
WANTLIB += bfio c crypto fuse iconv intl m pthread util z
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --enable-python
WRKDIST = ${WRKDIR}/${PKGNAME}
MODULES += lang/python
BUILD_DEPENDS = devel/gettext,-tools
2018-11-02 19:12:30 +00:00
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>