mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-09 18:52:30 +01:00
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
# Contributor: sillysausage <sillysausage@privatedemail.net>
|
|
# Maintainer:
|
|
pkgname=3proxy
|
|
pkgver=0.8.11
|
|
pkgrel=0
|
|
pkgdesc="Really tiny cross-platform proxy servers set"
|
|
url="https://3proxy.ru"
|
|
arch="all"
|
|
license="Apache-2.0 GPL-2.0-or-later LGPL-2.1-or-later"
|
|
pkgusers="3proxy"
|
|
pkggroups="3proxy"
|
|
options="!check" # No test suite
|
|
makedepends="linux-headers"
|
|
install="3proxy.pre-install"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/z3APA3A/$pkgname/archive/$pkgver.tar.gz
|
|
$pkgname.initd
|
|
"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make -f Makefile.Linux prefix="/usr"
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make -f Makefile.Linux DESTDIR="$pkgdir" prefix="/usr" install
|
|
install -Dm755 "$srcdir"/3proxy.initd "$pkgdir"/etc/init.d/3proxy
|
|
mv "$pkgdir"/usr/etc/3proxy "$pkgdir"/etc/3proxy
|
|
chown -R 3proxy:3proxy "$pkgdir"/etc/3proxy
|
|
install -Dm644 copying "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
|
|
}
|
|
|
|
sha512sums="82da185a80885f8e076e6c02bf32e44fe34aa836d18e10f126a3bdda3540465803e71259a0e740c6f23769f873b022636593c69aaf760235cba57c0d890e9c23 3proxy-0.8.11.tar.gz
|
|
5425792d0babc75221b5a35996a1fa47a6d0b9a435edde7b63e0344b7d58ab96b18f1c5fb28e798df36cb342d9793d530dbcdd0102cc5fb04a70ca525c924576 3proxy.initd"
|