From 49358967d3f4a41809ea05e09c2cb613c4f66532 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 27 Jul 2016 08:13:30 +0200 Subject: [PATCH] xforms: add a -devel subpkg; close #4252. --- common/shlibs | 2 ++ srcpkgs/xforms-devel | 1 + srcpkgs/xforms/template | 14 ++++++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/xforms-devel diff --git a/common/shlibs b/common/shlibs index cf75111b79..d87f328516 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2575,3 +2575,5 @@ libnss_sss.so.2 sssd-1.13.4_1 libwbclient.so.0 sssd-1.13.4_1 libsss_nss_idmap.so.0 sssd-1.13.4_1 libsss_simpleifp.so.0 sssd-1.13.4_1 +libforms.so.2 xforms-1.2.4_2 +libflimage.so.2 xforms-1.2.4_2 diff --git a/srcpkgs/xforms-devel b/srcpkgs/xforms-devel new file mode 120000 index 0000000000..1e8921abab --- /dev/null +++ b/srcpkgs/xforms-devel @@ -0,0 +1 @@ +xforms \ No newline at end of file diff --git a/srcpkgs/xforms/template b/srcpkgs/xforms/template index 93d61f3907..699be3066d 100644 --- a/srcpkgs/xforms/template +++ b/srcpkgs/xforms/template @@ -1,12 +1,22 @@ # Template file for 'xforms' pkgname=xforms version=1.2.4 -revision=1 +revision=2 build_style=gnu-configure +makedepends="libjpeg-turbo-devel libSM-devel libXpm-devel" homepage="http://xforms-toolkit.org/" distfiles="http://download.savannah.gnu.org/releases/xforms/xforms-${version}.tar.gz" -makedepends="libjpeg-turbo-devel libXpm-devel" short_desc="Graphical uesr interface toolkit for X11" maintainer="Andrew Benson " license="LGPL-2.1" checksum=78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696 + +xforms-devel_package() { + short_desc+=" - development files" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/*.so + vmove usr/lib/*.a + vmove usr/include + } +}