54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
# Template file for 'netpgp'
|
|
pkgname=netpgp
|
|
version=20140211
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="zlib-devel bzip2-devel openssl-devel"
|
|
short_desc="PGP signing, verification, encryption and decryption program"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="BSD"
|
|
homepage="http://www.netbsd.org"
|
|
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz"
|
|
checksum=b4a01aaad9ef96734266dafb1060c27e2855319e08f4166e6df507eaf0d5ee91
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libmj_package() {
|
|
replaces="libnetpgp<20140211"
|
|
short_desc="Minimalist JSON lightweight data interchange library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libmj.so.*"
|
|
}
|
|
}
|
|
|
|
libmj-devel_package() {
|
|
short_desc="Minimalist JSON lightweight data interchange library - development files"
|
|
depends="libmj>=${version}_${revision}"
|
|
pkg_install() {
|
|
vinstall ${wrksrc}/src/libmj/mj.h 644 usr/include
|
|
vmove usr/lib/libmj.a
|
|
vmove usr/lib/libmj.so
|
|
vmove usr/share/man/man3/libmj.3
|
|
}
|
|
}
|
|
|
|
libnetpgp_package() {
|
|
short_desc="BSD licensed library for PGP tasks"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
libnetpgp-devel_package() {
|
|
depends="zlib-devel bzip2-devel openssl-devel libnetpgp>=${version}_${revision}"
|
|
short_desc="BSD licensed library for PGP tasks - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|