Added netpgp-20100313 build template.

This commit is contained in:
Juan RP 2010-05-02 18:33:31 +02:00
parent 8cd294afb1
commit 6e968f72bf
7 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# Template file for 'libnetpgp'.
#
short_desc="BSD licensed library for PGP tasks - development files"
long_desc="
The netpgp library is a BSD-licensed library for managing PGP keys.
On top of the library, the netpgp command can digitally sign files and
verify that the signatures attached to files were signed by a given user
identifier. netpgp can also encrypt files using the public or private
keys of users and, in the same manner, decrypt files which were encrypted.
This packages includes development files: headers, static libs, etc."
Add_dependency run zlib-devel
Add_dependency run bzip2-devel
Add_dependency run openssl-devel
Add_dependency run libnetpgp
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}