diff options
author | Cág <ca6c@bitmessage.ch> | 2018-04-04 13:53:54 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-07-13 15:01:29 +0000 |
commit | db9da35fcf25bac6956f369ff342aa66618c35c1 (patch) | |
tree | 41ae3e2b06e7e737bccbf8d8a0b3a7aacfd59438 /testing/btpd | |
parent | ecebb15a245e734843eb06a9e1c7087f9d330e63 (diff) | |
download | aports-db9da35fcf25bac6956f369ff342aa66618c35c1.tar.bz2 aports-db9da35fcf25bac6956f369ff342aa66618c35c1.tar.xz |
testing/btpd: new aport
Diffstat (limited to 'testing/btpd')
-rw-r--r-- | testing/btpd/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/btpd/APKBUILD b/testing/btpd/APKBUILD new file mode 100644 index 0000000000..1cb03e9108 --- /dev/null +++ b/testing/btpd/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Cág <ca6c@bitmessage.ch> +# Maintainer: Cág <ca6c@bitmessage.ch> +pkgname=btpd +pkgver=0.16 +pkgrel=0 +pkgdesc="The BitTorrent Protocol Daemon" +url="https://github.com/btpd/btpd" +arch="all" +license="BSD-2-Clause BSD-3-Clause" +depends="" +makedepends="autoconf automake libressl-dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + default_prepare + autoreconf -vif +} + +build() { + cd "$builddir" + ./configure --prefix=/usr + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir/" install + install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT +} + +sha512sums="90d7574dec98649fb03973ca802f9ab3f0c43ac42761db2eb22146c985f2a43825ff6a5463d151950a8871ace9d73df2256eb926228ef4321b726c89ec3412f3 btpd-0.16.tar.gz" |