slang: fix for musl.
This commit is contained in:
parent
f16b2211dd
commit
9452c17344
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'slang'
|
||||
pkgname="slang"
|
||||
version="2.2.4"
|
||||
revision=3
|
||||
revision=4
|
||||
disable_parallel_build=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-z=${XBPS_CROSS_BASE}/usr --with-pcre=${XBPS_CROSS_BASE}/usr"
|
||||
|
@ -16,6 +16,9 @@ checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
|
|||
|
||||
conf_files="/etc/slsh.rc"
|
||||
|
||||
post_extract() {
|
||||
sed -i 's/posix_close/slrn_posix_close/g' src/slposio.c
|
||||
}
|
||||
pre_configure() {
|
||||
# configure test fails to detect termcap implementation if
|
||||
# /usr/share/terminfo does not exist.
|
||||
|
@ -34,11 +37,11 @@ pre_install() {
|
|||
}
|
||||
|
||||
slang-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove "usr/include"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/pkgconfig"
|
||||
}
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove "usr/include"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove "usr/lib/pkgconfig"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue