execline: switch build_style to configure, add nsss support.
This commit is contained in:
parent
a4f7199a00
commit
6104582f5e
@ -1,19 +1,26 @@
|
|||||||
# Template file for 'execline'
|
# Template file for 'execline'
|
||||||
pkgname=execline
|
pkgname=execline
|
||||||
version=2.5.0.1
|
version=2.5.0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=configure
|
||||||
makedepends="skalibs-devel"
|
makedepends="skalibs-devel"
|
||||||
configure_args="--libdir=/usr/lib --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps --with-lib=${XBPS_CROSS_BASE}/usr/lib"
|
configure_args="--libdir=/usr/lib --bindir=/usr/bin
|
||||||
|
--with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps
|
||||||
|
--with-lib=${XBPS_CROSS_BASE}/usr/lib"
|
||||||
short_desc="A non-interactive scripting language"
|
short_desc="A non-interactive scripting language"
|
||||||
maintainer="bougyman <bougyman@voidlinux.eu>"
|
maintainer="bougyman <bougyman@voidlinux.eu>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://skarnet.org/software/execline/"
|
homepage="https://skarnet.org/software/execline/"
|
||||||
|
changelog="https://skarnet.org/software/execline/upgrade.html"
|
||||||
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=8d07d14e9e9abb1301e08be271313c4ffa5ddf7248fd262dda19588e78e31049
|
checksum=8d07d14e9e9abb1301e08be271313c4ffa5ddf7248fd262dda19588e78e31049
|
||||||
|
|
||||||
CFLAGS="-fPIC"
|
CFLAGS="-fPIC"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
vdoc README
|
vdoc README
|
||||||
|
Loading…
x
Reference in New Issue
Block a user