diff options
Diffstat (limited to 'repo/libotr/libotr.xibuild')
-rw-r--r-- | repo/libotr/libotr.xibuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/repo/libotr/libotr.xibuild b/repo/libotr/libotr.xibuild new file mode 100644 index 0000000..57d7e91 --- /dev/null +++ b/repo/libotr/libotr.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +NAME="libotr" +DESC="Off The Record Messaging, an encryption library for secure IM conversations" + +MAKEDEPS="libgcrypt" + +PKG_VER=4.1.1 +SOURCE="https://www.cypherpunks.ca/otr/libotr-$PKG_VER.tar.gz" + +ADDITIONAL=" +socklen-t.patch +" + +prepare() { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + +tools() { + pkgdesc="libotr tools" + mkdir -p "$PKG_DEST"/usr/ + mv "$PKG_DEST"/usr/bin "$PKG_DEST"/usr/ +} + |