pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libusb-compat libusb-compat: Add DIST_SUBDIR to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e810038846f
branches:  trunk
changeset: 440592:0e810038846f
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Tue Oct 13 06:10:35 2020 +0000

description:
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.

diffstat:

 devel/libusb-compat/Makefile |  23 ++++++++---------------
 devel/libusb-compat/distinfo |  10 +++++-----
 2 files changed, 13 insertions(+), 20 deletions(-)

diffs (53 lines):

diff -r 7928fbdb839f -r 0e810038846f devel/libusb-compat/Makefile
--- a/devel/libusb-compat/Makefile      Tue Oct 13 04:38:29 2020 +0000
+++ b/devel/libusb-compat/Makefile      Tue Oct 13 06:10:35 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2020/10/10 12:32:24 mef Exp $
+# $NetBSD: Makefile,v 1.11 2020/10/13 06:10:35 triaxx Exp $
 
 VERSION=       0.1.7
 DISTNAME=      libusb-compat-${VERSION}
@@ -12,21 +12,14 @@
 COMMENT=       USB access library version 0 compatibility layer on top of version 1
 LICENSE=       gnu-lgpl-v2.1
 
-USE_LIBTOOL=           yes
-USE_TOOLS+=            gsed pkg-config aclocal automake autoconf
-GNU_CONFIGURE=         yes
-PKGCONFIG_OVERRIDE+=   libusb.pc.in
-
-CONFLICTS=             libusb-[0-9]*
-WRKSRC=                        ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+CONFLICTS=     libusb-[0-9]*
 
-pre-configure:
-       cd ${WRKSRC}; \
-       libtoolize      && \
-       aclocal         && \
-       autoheader      && \
-       autoconf        && \
-       automake --add-missing
+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"
diff -r 7928fbdb839f -r 0e810038846f devel/libusb-compat/distinfo
--- a/devel/libusb-compat/distinfo      Tue Oct 13 04:38:29 2020 +0000
+++ b/devel/libusb-compat/distinfo      Tue Oct 13 06:10:35 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2020/10/10 12:32:24 mef Exp $
+$NetBSD: distinfo,v 1.8 2020/10/13 06:10:35 triaxx Exp $
 
-SHA1 (libusb-compat-0.1.7.tar.gz) = bf6c214e4a64f62d42a03b2516658bc8f8f1bc00
-RMD160 (libusb-compat-0.1.7.tar.gz) = 58dd331bfe071e36fce0c83a3ac9f5d98654fcab
-SHA512 (libusb-compat-0.1.7.tar.gz) = 2cf3baa62ad2d6da10eb4d53e057786aa700a4cf40429f632a6bd3b8aa68176ac89bc9d69e19d11f704f3f09f544c88712a69df866063c8177b70854407843df
-Size (libusb-compat-0.1.7.tar.gz) = 37581 bytes
+SHA1 (libusb-compat-0.1.7/libusb-compat-0.1.7.tar.gz) = 7a64e8c3ba015e3b7db19054a75eefb9d8730874
+RMD160 (libusb-compat-0.1.7/libusb-compat-0.1.7.tar.gz) = 111845e2675c8dfb243a2241e823950c1c4a2f34
+SHA512 (libusb-compat-0.1.7/libusb-compat-0.1.7.tar.gz) = 8f3b2f9a275987b13278215b28950f9bc4c4cd30d3dc08ff5141ed6486d484981d059588533857eb521a5362ce2eb74c9f9c98f3d0c59d9a288debf9fc95a882
+Size (libusb-compat-0.1.7/libusb-compat-0.1.7.tar.gz) = 374868 bytes



Home | Main Index | Thread Index | Old Index