diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/libotr/libotr.xibuild | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
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/ +} + |