summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-10-25 22:42:37 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-10-25 22:42:37 +0000
commita3c3905a5b1264a724abd62edf7b8af5c7eee279 (patch)
tree43c18ae607e89b80bed87635469816b5b09818a8
parentd448263d3fbf0bd170d4eb77c6c6c1880420aeca (diff)
parent87dd0757a268dae02293ddeac27431606b3784d2 (diff)
downloadpackages-a3c3905a5b1264a724abd62edf7b8af5c7eee279.tar.gz
packages-a3c3905a5b1264a724abd62edf7b8af5c7eee279.tar.bz2
packages-a3c3905a5b1264a724abd62edf7b8af5c7eee279.tar.xz
packages-a3c3905a5b1264a724abd62edf7b8af5c7eee279.zip
Merge branch 'gnu-netcat' into 'master'
user/gnu-netcat: Add request package See merge request adelie/packages!524
-rw-r--r--user/gnu-netcat/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/gnu-netcat/APKBUILD b/user/gnu-netcat/APKBUILD
new file mode 100644
index 000000000..d6a02a122
--- /dev/null
+++ b/user/gnu-netcat/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Nathan <ndowens@artixlinux.org>
+# Maintainer: Nathan <ndowens@artixlinux.org>
+pkgname=gnu-netcat
+pkgver=0.7.1
+pkgrel=0
+pkgdesc="GNU rewrite of netcat"
+url="http://netcat.sourceforge.net" # No HTTPS
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="texinfo"
+subpackages="$pkgname-doc"
+source="https://downloads.sourceforge.net/sourceforge/netcat/netcat-$pkgver.tar.bz2"
+builddir="$srcdir/netcat-$pkgver"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="283c02f849c3bb62615a5ccb7796192804dafcecb34f3c6b553cbc12c715654963b81e253762923c6069be9768b93dde576a392b89b167912c323354f1376e83 netcat-0.7.1.tar.bz2"