libotr: cross build support.

This commit is contained in:
Juan RP 2014-05-20 08:28:03 +02:00
parent 6bf0634bcd
commit beab2b2edd

View file

@ -1,7 +1,7 @@
# Template build file for 'libotr'.
pkgname=libotr
version=4.0.0
revision=1
revision=2
build_style=gnu-configure
makedepends="libgcrypt-devel"
short_desc="Off-the-Record Messaging Library and Toolkit"
@ -11,6 +11,10 @@ license="GPL-2, LGPL-2.1"
distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz"
checksum=3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4
pre_build() {
sed '/INCLUDES/s,-I$(includedir),,' -i toolkit/Makefile
}
libotr-progs_package() {
short_desc+=" - applications"
pkg_install() {