From 52075f59293fd9b410980d4928135bf7e856c1f2 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 30 Sep 2016 16:20:56 +0200 Subject: [PATCH] New package: open-isns-0.96 --- common/shlibs | 1 + srcpkgs/libisns | 1 + srcpkgs/libisns-devel | 1 + srcpkgs/open-isns/template | 34 ++++++++++++++++++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 120000 srcpkgs/libisns create mode 120000 srcpkgs/libisns-devel create mode 100644 srcpkgs/open-isns/template diff --git a/common/shlibs b/common/shlibs index 43cd8ffec71..87588173937 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2599,3 +2599,4 @@ libKF5WaylandServer.so.5 kwayland-5.26.0_1 libKF5WaylandClient.so.5 kwayland-5.26.0_1 libKF5IdleTime.so.5 kidletime-5.26.0_1 liblmdb.so.0 lmdb-0.9.18_2 +libisns.so.0 libisns-0.96_1 diff --git a/srcpkgs/libisns b/srcpkgs/libisns new file mode 120000 index 00000000000..6ff0422469a --- /dev/null +++ b/srcpkgs/libisns @@ -0,0 +1 @@ +open-isns \ No newline at end of file diff --git a/srcpkgs/libisns-devel b/srcpkgs/libisns-devel new file mode 120000 index 00000000000..6ff0422469a --- /dev/null +++ b/srcpkgs/libisns-devel @@ -0,0 +1 @@ +open-isns \ No newline at end of file diff --git a/srcpkgs/open-isns/template b/srcpkgs/open-isns/template new file mode 100644 index 00000000000..bb4a2d17680 --- /dev/null +++ b/srcpkgs/open-isns/template @@ -0,0 +1,34 @@ +# Template file for 'open-isns' +pkgname=open-isns +version=0.96 +revision=1 +build_style=gnu-configure +configure_args="--enable-shared" +make_install_args="install install_hdrs install_lib SYSTEMDDIR=/tmp" +conf_files="/etc/isns/isnsdd.conf /etc/isns/isnsd.conf /etc/isns/isnsadm.conf" +short_desc="Server and client for iSNS" +maintainer="Christian Neukirchen " +license="LGPL-2.1" +homepage="https://github.com/open-iscsi/open-isns" +distfiles="https://github.com/open-iscsi/open-isns/archive/v${version}.tar.gz" +checksum=487fd0d87826423ea99dc159826d0b654a5da016ed670d4395a77bfa4f62e2ec + +post_extract() { + sed -i '1i#include ' include/libisns/isns.h +} + +libisns_package() { + short_desc+=" - library" + pkg_install() { + vmove usr/lib/*.so.* + } +} +libisns-devel_package() { + short_desc+=" - development files" + depends="libisns>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/*.a + } +}