summaryrefslogtreecommitdiff
path: root/repo/libotr/libotr.xibuild
blob: 57d7e918fadb16a87764f4fad43e3fb7866c5284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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/
}