slang: move libraries and headers to -devel subpackage

This commit is contained in:
v2px 2014-02-06 14:04:24 +01:00
parent ce8fbf4ef1
commit e741a55626
2 changed files with 12 additions and 2 deletions

1
srcpkgs/slang-devel Symbolic link
View file

@ -0,0 +1 @@
slang

View file

@ -1,10 +1,9 @@
# Template file for 'slang'
pkgname="slang"
version="2.2.4"
revision=1
revision=2
build_style=gnu-configure
makedepends="ncurses-devel"
configure_args=""
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"
@ -14,3 +13,13 @@ checksum=9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
conf_files="
/etc/slsh.rc"
slang-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/*.so"
vmove "usr/lib/pkgconfig"
}
}