mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
slang: update to 2.3.1
This commit is contained in:
parent
e07e41e24b
commit
b41e41a68f
1 changed files with 12 additions and 16 deletions
|
@ -1,34 +1,30 @@
|
||||||
# Template file for 'slang'
|
# Template file for 'slang'
|
||||||
pkgname="slang"
|
pkgname=slang
|
||||||
version="2.2.4"
|
version=2.3.1
|
||||||
revision=4
|
revision=1
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-z=${XBPS_CROSS_BASE}/usr --with-pcre=${XBPS_CROSS_BASE}/usr"
|
configure_args="--with-z=${XBPS_CROSS_BASE}/usr --with-pcre=${XBPS_CROSS_BASE}/usr
|
||||||
|
--with-png=${XBPS_CROSS_BASE}/usr --with-onig=${XBPS_CROSS_BASE}/usr"
|
||||||
hostmakedepends="ncurses-devel"
|
hostmakedepends="ncurses-devel"
|
||||||
makedepends="ncurses-devel zlib-devel pcre-devel"
|
makedepends="ncurses-devel zlib-devel pcre-devel libpng-devel oniguruma-devel"
|
||||||
short_desc="A multi-platform programmer's library designed to allow a developer to create robust software"
|
short_desc="S-Lang programming library"
|
||||||
maintainer="Jens E. Becker <v2px@v2px.de>"
|
maintainer="Jens E. Becker <v2px@v2px.de>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://www.jedsoft.org/slang"
|
homepage="http://www.jedsoft.org/slang"
|
||||||
distfiles="ftp://space.mit.edu/pub/davis/${pkgname}/v2.2/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.jedsoft.org/releases/slang/slang-${version}.tar.bz2"
|
||||||
checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
|
checksum=a810d5da7b0c0c8c335393c6b4f12884be6fa7696d9ca9521ef21316a4e00f9d
|
||||||
|
|
||||||
conf_files="/etc/slsh.rc"
|
conf_files="/etc/slsh.rc"
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
sed -i 's/posix_close/slrn_posix_close/g' src/slposio.c
|
|
||||||
}
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# configure test fails to detect termcap implementation if
|
# configure test fails to detect termcap implementation if
|
||||||
# /usr/share/terminfo does not exist.
|
# /usr/share/terminfo does not exist.
|
||||||
install -d /usr/share/terminfo
|
install -d /usr/share/terminfo
|
||||||
}
|
}
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
sed '/RPATH/d' -i slsh/Makefile modules/Makefile
|
sed '/RPATH/d' -i slsh/Makefile modules/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_install() {
|
pre_install() {
|
||||||
if [ -f slsh/objs/slsh_exe ]; then
|
if [ -f slsh/objs/slsh_exe ]; then
|
||||||
mv slsh/objs/slsh_exe slsh/objs/slsh
|
mv slsh/objs/slsh_exe slsh/objs/slsh
|
||||||
|
@ -40,8 +36,8 @@ slang-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/include"
|
vmove usr/include
|
||||||
vmove "usr/lib/*.so"
|
vmove usr/lib/*.so
|
||||||
vmove "usr/lib/pkgconfig"
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue