From ce4fabf5052e858dc17041ea5613a8cfb10e3b4c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 29 Jun 2013 08:05:41 +0200 Subject: [PATCH] New package: libotr-4.0.0. --- common/shlibs | 1 + srcpkgs/libotr-devel | 1 + srcpkgs/libotr-progs | 1 + srcpkgs/libotr/template | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 120000 srcpkgs/libotr-devel create mode 120000 srcpkgs/libotr-progs create mode 100644 srcpkgs/libotr/template diff --git a/common/shlibs b/common/shlibs index f6d87ac7f2..22eed4befe 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1359,3 +1359,4 @@ libktorrent.so.5 libktorrent-1.3.1_1 libvncserver.so.0 libvncserver-0.9.9_1 libvncclient.so.0 libvncserver-0.9.9_1 libotr3.so.2 libotr3-3.2.1_1 +libotr.so.5 libotr-4.0.0_1 diff --git a/srcpkgs/libotr-devel b/srcpkgs/libotr-devel new file mode 120000 index 0000000000..f6addfd62a --- /dev/null +++ b/srcpkgs/libotr-devel @@ -0,0 +1 @@ +libotr \ No newline at end of file diff --git a/srcpkgs/libotr-progs b/srcpkgs/libotr-progs new file mode 120000 index 0000000000..f6addfd62a --- /dev/null +++ b/srcpkgs/libotr-progs @@ -0,0 +1 @@ +libotr \ No newline at end of file diff --git a/srcpkgs/libotr/template b/srcpkgs/libotr/template new file mode 100644 index 0000000000..aa89431f69 --- /dev/null +++ b/srcpkgs/libotr/template @@ -0,0 +1,38 @@ +# Template build file for 'libotr'. +pkgname=libotr +version=4.0.0 +revision=1 +build_style=gnu-configure +makedepends="libgcrypt-devel" +short_desc="Off-the-Record Messaging Library and Toolkit" +maintainer="Juan RP " +homepage="http://www.cypherpunks.ca/otr/" +license="GPL-2, LGPL-2.1" +distfiles="http://www.cypherpunks.ca/otr/libotr-${version}.tar.gz" +checksum=3f911994409898e74527730745ef35ed75c352c695a1822a677a34b2cf0293b4 + +libotr-progs_package() { + short_desc+=" - applications" + pkg_install() { + vmove usr/bin + vmove usr/share/man + } +} + +libotr-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + vmove usr/share/aclocal + } +} + +libotr_package() { + pkg_install() { + vmove usr + } +}