pkgsrc-WIP-changes archive

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

axel: Update to 2.17.11



Module Name:	pkgsrc-wip
Committed By:	Ismael Luceno <ismael%iodev.co.uk@localhost>
Pushed By:	ismael
Date:		Tue Feb 22 13:41:51 2022 +0100
Changeset:	3a44f55a7486adfa5fe1aa1f970f3b781e6dcd5c

Modified Files:
	axel/Makefile
	axel/distinfo
Added Files:
	axel/PLIST.nls
	axel/options.mk

Log Message:
axel: Update to 2.17.11

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3a44f55a7486adfa5fe1aa1f970f3b781e6dcd5c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 axel/Makefile   | 20 ++++++++------------
 axel/PLIST.nls  | 10 ++++++++++
 axel/distinfo   |  6 +++---
 axel/options.mk | 31 +++++++++++++++++++++++++++++++
 4 files changed, 52 insertions(+), 15 deletions(-)

diffs:
diff --git a/axel/Makefile b/axel/Makefile
index a1727c0b4f..b61d7ca4cd 100644
--- a/axel/Makefile
+++ b/axel/Makefile
@@ -1,26 +1,22 @@
 # $NetBSD: Makefile,v 1.8 2012/09/24 16:56:41 asau Exp $
 #
 
-DISTNAME=		axel-1.0b
+DISTNAME=		axel-2.17.11
 CATEGORIES=		net
-MASTER_SITES=		https://wilmer.gaa.st/downloads/
+MASTER_SITES=		https://github.com/axel-download-accelerator/axel/releases/download/v${PKGVERSION_NOREV}/
 
-MAINTAINER=		alchow%users.sourceforge.net@localhost
+MAINTAINER=		ismael%iodev.co.uk@localhost
 HOMEPAGE=		https://github.com/axel-download-accelerator/axel
 COMMENT=		HTTP/FTP download accelerator
 
-HAS_CONFIGURE=		yes
-USE_TOOLS+=		gmake
-CONFIGURE_ARGS+=	--prefix=${PREFIX}
+GNU_CONFIGURE=		yes
 
-INSTALLATION_DIRS=	bin etc ${PKGMANDIR}/man1
+INSTALLATION_DIRS+=	share/examples/axel
 EGDIR=			${PREFIX}/share/examples/${PKGBASE}
 CONF_FILES=		${EGDIR}/axelrc.example ${PKG_SYSCONFDIR}/axelrc
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/axel ${DESTDIR}${PREFIX}/bin/
-	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
-	${INSTALL_DATA} ${WRKSRC}/axelrc.example ${DESTDIR}${EGDIR}
-	${INSTALL_MAN} ${WRKSRC}/axel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/doc/axelrc.example ${DESTDIR}${EGDIR}
 
+.include "options.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/axel/PLIST.nls b/axel/PLIST.nls
new file mode 100644
index 0000000000..7a19646552
--- /dev/null
+++ b/axel/PLIST.nls
@@ -0,0 +1,10 @@
+share/locale/de/LC_MESSAGES/axel.mo
+share/locale/es/LC_MESSAGES/axel.mo
+share/locale/id_ID/LC_MESSAGES/axel.mo
+share/locale/it/LC_MESSAGES/axel.mo
+share/locale/ja/LC_MESSAGES/axel.mo
+share/locale/nl/LC_MESSAGES/axel.mo
+share/locale/pt_BR/LC_MESSAGES/axel.mo
+share/locale/ru/LC_MESSAGES/axel.mo
+share/locale/tr/LC_MESSAGES/axel.mo
+share/locale/zh_CN/LC_MESSAGES/axel.mo
diff --git a/axel/distinfo b/axel/distinfo
index 4e0aa771f6..5cea4226f4 100644
--- a/axel/distinfo
+++ b/axel/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.1.1.1 2007/04/05 20:03:22 alchow Exp $
 
-BLAKE2s (axel-1.0b.tar.gz) = 43a234a3f1a817123406a28ad07fa93cbbd3a4687e2fb3bf9f252c892ad13a2d
-SHA512 (axel-1.0b.tar.gz) = 1732d562f364cd489db7c6d32528dfb72040b4399c620df8b517ca9e696b9bccbe7bedef6ae5e989a158945406d09f10c9c8656c6a0fa3ac5481934235f36386
-Size (axel-1.0b.tar.gz) = 43293 bytes
+BLAKE2s (axel-2.17.11.tar.gz) = 0e3e798dd26fef59b8c4e52248181920667413e7817125f9280efeebf9720896
+SHA512 (axel-2.17.11.tar.gz) = ab84ff9cc4b059b651c93d0298219a8143ed3a8620b53cb614fc99a1f7aa827d66fc24a0de811ffbe6ce42a6eafb945b42093f80a3ada2ef91099a8c6bd3a3a0
+Size (axel-2.17.11.tar.gz) = 377920 bytes
diff --git a/axel/options.mk b/axel/options.mk
new file mode 100644
index 0000000000..4a0191ca15
--- /dev/null
+++ b/axel/options.mk
@@ -0,0 +1,31 @@
+# $NetBSD$
+PKG_OPTIONS_VAR=		PKG_OPTIONS.axel
+PKG_SUPPORTED_OPTIONS=		nls ssl
+PKG_SUGGESTED_OPTIONS=		nls ssl
+PKG_OPTIONS_OPTIONAL_GROUPS=	ssl
+PKG_OPTIONS_GROUP.ssl=		openssl libressl
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.options.mk"
+
+PLIST_SRC=		PLIST
+.if !empty(PKG_OPTIONS:Mnls)
+.  include "../../devel/gettext-lib/buildlink3.mk"
+PLIST_SRC+=		PLIST.nls
+.else
+CONFIGURE_ARGS+=	--disable-nls
+.endif
+
+PKG_SUGGESTED_OPTIONS+=	${PKG_OPTIONS_GROUP.ssl:[1]}
+.if empty(PKG_OPTIONS:Mssl)
+CONFIGURE_ARGS+=	--without-ssl
+PKG_OPTIONS:=		${PKG_OPTIONS:N*ssl}
+.else
+.  if empty(PKG_OPTIONS:M*?ssl)
+PKG_OPTIONS+=		${PKG_OPTIONS_GROUP.ssl:[1]}
+.  endif
+LIBSSL:=		${PKG_OPTIONS:M*?ssl}
+.  include "../../security/${LIBSSL}/buildlink3.mk"
+CONFIGURE_ARGS+=	--with-ssl=${BUILDLINK_PREFIX.${LIBSSL}}
+USE_TOOLS+=		pkg-config
+.endif


Home | Main Index | Thread Index | Old Index