void-packages/srcpkgs/libotr/template

39 lines
859 B
Text
Raw Normal View History

2013-06-29 06:05:41 +00:00
# Template build file for 'libotr'.
pkgname=libotr
version=4.0.0
revision=1
build_style=gnu-configure
makedepends="libgcrypt-devel"
short_desc="Off-the-Record Messaging Library and Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.cypherpunks.ca/otr/"
license="GPL-2, LGPL-2.1"
distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz"
checksum=3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4
libotr-progs_package() {
short_desc+=" - applications"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
libotr-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}
libotr_package() {
pkg_install() {
vmove usr
}
}