mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
fe0d84d93e
take MAINTAINER feedback and OK sthen@
40 lines
892 B
Makefile
40 lines
892 B
Makefile
COMMENT = library and tools to access the (split) RAW image format
|
|
|
|
VERSION = 20240506
|
|
DISTNAME = libsmraw-alpha-${VERSION}
|
|
PKGNAME = ${DISTNAME:S/-alpha//}
|
|
|
|
SHARED_LIBS += smraw 0.2 # 1.0
|
|
|
|
CATEGORIES = sysutils security
|
|
|
|
HOMEPAGE = https://github.com/libyal/libsmraw/wiki
|
|
|
|
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
|
|
|
|
SITES = https://github.com/libyal/libsmraw/releases/download/${VERSION}/
|
|
|
|
# LGPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${MODPY_WANTLIB}
|
|
WANTLIB += bfio c crypto fuse iconv intl m pthread util ssl
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --enable-python
|
|
|
|
WRKDIST = ${WRKDIR}/${PKGNAME}
|
|
|
|
MODULES += lang/python
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools \
|
|
devel/py-setuptools
|
|
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>
|