2014-02-06 13:00:02 +01:00
|
|
|
# Template file for 'slang'
|
|
|
|
pkgname="slang"
|
|
|
|
version="2.2.4"
|
2014-02-06 15:14:29 +01:00
|
|
|
revision=3
|
2014-02-06 14:28:25 +01:00
|
|
|
disable_parallel_build=yes
|
2014-02-06 15:14:29 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-z=${XBPS_CROSS_BASE}/usr --with-pcre=${XBPS_CROSS_BASE}/usr"
|
|
|
|
hostmakedepends="ncurses-devel"
|
|
|
|
makedepends="ncurses-devel zlib-devel pcre-devel"
|
2014-02-06 13:00:02 +01:00
|
|
|
short_desc="A multi-platform programmer's library designed to allow a developer to create robust software"
|
|
|
|
maintainer="Jens E. Becker <v2px@v2px.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.jedsoft.org/slang"
|
|
|
|
distfiles="ftp://space.mit.edu/pub/davis/${pkgname}/v2.2/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
|
|
|
|
|
2014-02-06 15:14:29 +01:00
|
|
|
conf_files="/etc/slsh.rc"
|
|
|
|
|
|
|
|
post_configure() {
|
|
|
|
sed '/RPATH/d' -i slsh/Makefile modules/Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_install() {
|
|
|
|
if [ -f slsh/objs/slsh_exe ]; then
|
|
|
|
mv slsh/objs/slsh_exe slsh/objs/slsh
|
|
|
|
fi
|
|
|
|
sed 's,install: slsh, install: ,g' -i slsh/Makefile
|
|
|
|
}
|
2014-02-06 14:04:24 +01:00
|
|
|
|
|
|
|
slang-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/include"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/pkgconfig"
|
|
|
|
}
|
|
|
|
}
|