2010-05-02 18:33:31 +02:00
|
|
|
# Template file for 'netpgp'
|
|
|
|
pkgname=netpgp
|
2014-02-21 09:42:22 +01:00
|
|
|
version=20140220
|
2014-07-15 16:55:59 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-02-17 19:50:41 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2014-07-15 16:55:59 +02:00
|
|
|
makedepends="zlib-devel bzip2-devel libressl-devel"
|
2010-05-02 18:33:31 +02:00
|
|
|
short_desc="PGP signing, verification, encryption and decryption program"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-04 11:55:23 +02:00
|
|
|
license="BSD"
|
2013-04-14 04:36:19 +02:00
|
|
|
homepage="http://www.netbsd.org"
|
2014-02-17 19:50:41 +01:00
|
|
|
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz"
|
2014-02-21 09:42:22 +01:00
|
|
|
checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf
|
2010-05-02 18:33:31 +02:00
|
|
|
|
2014-02-17 19:50:41 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2010-05-02 18:33:31 +02:00
|
|
|
|
2014-02-17 19:50:41 +01:00
|
|
|
libmj_package() {
|
|
|
|
replaces="libnetpgp<20140211"
|
|
|
|
short_desc="Minimalist JSON lightweight data interchange library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/libmj.so.*"
|
|
|
|
}
|
|
|
|
}
|
2010-05-02 18:33:31 +02:00
|
|
|
|
2014-02-17 19:50:41 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2010-05-02 18:33:31 +02:00
|
|
|
|
2013-04-14 04:36:19 +02:00
|
|
|
libnetpgp_package() {
|
|
|
|
short_desc="BSD licensed library for PGP tasks"
|
|
|
|
pkg_install() {
|
2014-02-17 19:50:41 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 04:36:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libnetpgp-devel_package() {
|
2014-07-15 16:55:59 +02:00
|
|
|
depends="${makedepends} libnetpgp>=${version}_${revision}"
|
2013-04-14 04:36:19 +02:00
|
|
|
short_desc="BSD licensed library for PGP tasks - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-17 19:50:41 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 04:36:19 +02:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|