summaryrefslogtreecommitdiff
path: root/manualPorts/knockd-ipv6-git/Pkgfile
blob: e1430b5de4ae386bc1373f7b3939daa4762746e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Latest upstream version of knockd with added IPv6 support.
# URL: http://www.zeroflux.org/projects/knock
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on:

name=knockd-ipv6-git
version=0.7.8.r19.ac5b0dc
release=1
source=(
"https://github.com/Coksnuss/knock/archive/${version##*.}.tar.gz"
rc.d
)

build() {

  cd knock-${version##*.}*
  autoreconf -fi
  ./configure --prefix=/usr --sbin=/usr/sbin --sysconfdir=/etc
  make
  make "DESTDIR=$PKG" install
  rm -rf --one-file-system "$PKG/usr/share/doc/"
  install -Dm 755 "${SRC}/rc.d" "${PKG}/etc/rc.d/knockd"
}