37 lines
978 B
Bash
37 lines
978 B
Bash
|
# Template file for 'gnunet'
|
||
|
pkgname=gnunet
|
||
|
version=0.11.5
|
||
|
revision=1
|
||
|
wrksrc="${pkgname}-v${version}"
|
||
|
build_style=gnu-configure
|
||
|
conf_files="/etc/gnunet/gnunet.conf"
|
||
|
hostmakedepends="autoconf automake gettext-devel libtool"
|
||
|
makedepends="libgcrypt-devel libidn-devel
|
||
|
libltdl-devel libunistring-devel sqlite-devel zlib-devel"
|
||
|
short_desc="Framework for secure peer-to-peer networking"
|
||
|
maintainer="Anachron <gith@cron.world>"
|
||
|
license="GPL-3.0-or-later"
|
||
|
homepage="https://gnunet.org"
|
||
|
distfiles="https://git.gnunet.org/gnunet.git/snapshot/${pkgname}-v${version}.tar.gz"
|
||
|
checksum=ac99e7e5a167aa42e7734ad5c94a31be1f9fe98842a923c382c8a30b5320561a
|
||
|
|
||
|
pre_configure() {
|
||
|
./bootstrap
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vmkdir etc/gnunet
|
||
|
vcopy "${FILESDIR}/gnunet.conf" etc/gnunet/gnunet.conf
|
||
|
vsv gnunet
|
||
|
}
|
||
|
|
||
|
gnunet-devel_package() {
|
||
|
depends="${pkgname}>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|