pkgsrc/devel/libusb-compat/Makefile
triaxx a2fd39e161 libusb-compat: Add DIST_SUBDIR to avoid checksum error
pkgsrc changes:
---------------
  * Use release archive from Github to avoid the dependency on autotools
    and to remove conflict with the tag archive potentially present in
    ${DISTDIR} which has the same name but a different checksum.
  * Reorder variables to be compliant with pkgsrc policy described in
    doc/Makefile-example.
2020-10-13 06:10:35 +00:00

25 lines
655 B
Makefile

# $NetBSD: Makefile,v 1.11 2020/10/13 06:10:35 triaxx Exp $
VERSION= 0.1.7
DISTNAME= libusb-compat-${VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=libusb/}
GITHUB_PROJECT= libusb-compat-0.1
GITHUB_RELEASE= v${VERSION}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/libusb/libusb/wiki
COMMENT= USB access library version 0 compatibility layer on top of version 1
LICENSE= gnu-lgpl-v2.1
CONFLICTS= libusb-[0-9]*
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_LIBTOOL= yes
USE_TOOLS+= gsed pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libusb.pc.in
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"