2013-06-29 06:05:41 +00:00
|
|
|
# Template build file for 'libotr'.
|
|
|
|
pkgname=libotr
|
2014-11-22 11:37:18 +00:00
|
|
|
version=4.1.0
|
2014-06-16 11:36:41 +00:00
|
|
|
revision=3
|
2013-06-29 06:05:41 +00:00
|
|
|
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"
|
2014-11-22 11:37:18 +00:00
|
|
|
checksum=4fdb891940ec89d300190a98f69a9138248dcb8c8d337633fb981b8d0a9cd930
|
2013-06-29 06:05:41 +00:00
|
|
|
|
2014-05-20 06:28:03 +00:00
|
|
|
pre_build() {
|
|
|
|
sed '/INCLUDES/s,-I$(includedir),,' -i toolkit/Makefile
|
|
|
|
}
|
|
|
|
|
2013-06-29 06:05:41 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|