Edit

IABSD.fr/ports/sysutils/libqcow/Makefile

Branch :

  • Show log

    Commit

  • Author : rpointel
    Date : 2017-04-05 11:45:20
    Hash : c331d70a
    Message : update libqcow to 20170222. ok benoit@.

  • sysutils/libqcow/Makefile
  • # $OpenBSD: Makefile,v 1.2 2017/04/05 11:45:20 rpointel Exp $
    
    COMMENT =	library and tools to access the QEMU Copy-On-Write (QCOW)
    
    VERSION = 	20170222
    DISTNAME =	libqcow-alpha-${VERSION}
    PKGNAME =	${DISTNAME:S/-alpha//}
    
    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_CDROM =	Yes
    
    WANTLIB += bfio c crypto fuse m pthread util z ${MODPY_WANTLIB}
    
    CONFIGURE_STYLE =	gnu
    CONFIGURE_ARGS +=	--enable-python
    
    WRKDIST =	${WRKDIR}/${PKGNAME}
    
    MODULES +=	devel/gettext \
    		lang/python
    
    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>