libotr3: cross build support.

This commit is contained in:
Juan RP 2014-05-20 10:23:48 +02:00
parent 3e55e4e30e
commit 3ca966bb6b

View file

@ -1,7 +1,7 @@
# Template build file for 'libotr3'.
pkgname=libotr3
version=3.2.1
revision=2
revision=3
wrksrc="libotr-${version}"
build_style=gnu-configure
configure_args="--program-transform-name='s/otr/otr3/'"
@ -13,6 +13,10 @@ license="GPL-2, LGPL-2.1"
distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz"
checksum=d428eaa584984baa09450cca07742e0ac8fc62401f3a1c556e3025023369cdf4
pre_build() {
sed '/INCLUDES/s,-I$(includedir),,' -i toolkit/Makefile
}
post_install() {
for i in parse sesskeys mackey readforge modify remac; do
rm ${DESTDIR}/usr/share/man/man1/otr_${i}.1