mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/btpd: new aport
This commit is contained in:
parent
ecebb15a24
commit
db9da35fcf
34
testing/btpd/APKBUILD
Normal file
34
testing/btpd/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user