From 61ad66627469bd6d3a8af614a364dcf02df6b219 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 18 Aug 2018 10:47:53 -0300 Subject: [PATCH] New package: nsss-0.0.1.0. --- srcpkgs/nsss-devel | 1 + srcpkgs/nsss/template | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 120000 srcpkgs/nsss-devel create mode 100644 srcpkgs/nsss/template diff --git a/srcpkgs/nsss-devel b/srcpkgs/nsss-devel new file mode 120000 index 00000000000..ba73c48df36 --- /dev/null +++ b/srcpkgs/nsss-devel @@ -0,0 +1 @@ +nsss \ No newline at end of file diff --git a/srcpkgs/nsss/template b/srcpkgs/nsss/template new file mode 100644 index 00000000000..4ce9a59cfc2 --- /dev/null +++ b/srcpkgs/nsss/template @@ -0,0 +1,35 @@ +# Template file for 'nsss' +pkgname=nsss +version=0.0.1.0 +revision=1 +build_style=configure +configure_args="--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps + --with-lib=${XBPS_CROSS_BASE}/usr/lib --enable-shared --libdir=/usr/lib + --bindir=/usr/bin --dynlibdir=/usr/lib" +makedepends="skalibs-devel" +short_desc="Minimal competing implementation of glibc's Name Switch Service" +maintainer="maxice8 " +license="ISC" +homepage="https://skarnet.org/software/nsss/" +changelog="https://skarnet.org/software/nsss/upgrade.html" +distfiles="https://skarnet.org/software/nsss/nsss-${version}.tar.gz" +checksum=20864cf8a05c0dbcd64b8855f9ff9f0ed068c69281cd2b310364c27df72a4838 + +case "$XBPS_TARGET_MACHINE" in + *-musl) ;; + *) broken="Only available on musl" ;; +esac + +post_install() { + vlicense COPYING +} + +nsss-devel_package() { + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} +