void-packages/srcpkgs/ncurses32/template

49 lines
1.6 KiB
Plaintext
Raw Normal View History

2010-05-20 18:44:44 +02:00
# Template file for 'ncurses32'
pkgname=ncurses32
2011-07-11 19:01:05 +02:00
version=5.9
2010-05-20 18:44:44 +02:00
distfiles="
2011-07-11 19:01:05 +02:00
http://xbps.nopcode.org/repos/current/i686/ncurses-libs-${version}.i686.xbps
http://xbps.nopcode.org/repos/current/i686/ncurses-devel-${version}.i686.xbps"
depends="glibc32"
makedepends="bsdtar"
2013-03-31 09:51:35 +02:00
revision=2
2010-05-20 18:44:44 +02:00
short_desc="A System V Release 4.0 curses emulation library (32 bits)"
2013-03-31 09:51:35 +02:00
homepage="http://www.gnu.org/software/ncurses/"
license="MIT"
2010-05-20 18:44:44 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
checksum="
2011-07-11 19:01:05 +02:00
1a4593225d3d4bc96d423c1dae519d4b0271fd20007065a6751d044a2b7cca6c
59318d6cebe8f839a26d4a6114762bbec9d49a0dcaf1bbee5e25fd296a82cb31"
2010-05-20 18:44:44 +02:00
long_desc="
The ncurses (new curses) library is a freeware emulation of System V Release
4.0 curses. It uses terminfo format, supports pads and color and multiple
highlights and forms characters and function-key mapping, and has all the
other SYSV-curses enhancements over BSD curses. The distribution includes
the library and support utilities, including a terminfo compiler tic, a
ecompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo.
Full manual pages are provided for the library and tools.
2011-07-11 19:01:05 +02:00
This package installs the ncurses 32 bit libraries for x86_64 systems."
2010-05-20 18:44:44 +02:00
subpackages="$pkgname-devel"
nostrip=yes
noextract=yes
noverifyrdeps=yes
only_for_archs=x86_64
do_install()
{
for f in ${distfiles}; do
local srcfile="${XBPS_SRCDISTDIR}/$(basename ${f})"
2011-07-11 19:01:05 +02:00
bsdtar xf ${srcfile} -C ${wrksrc}
2010-05-20 18:44:44 +02:00
done
2011-07-11 19:01:05 +02:00
vmkdir lib32
vmkdir usr/lib32
vcopy "lib/*.so*" lib32
vcopy "usr/lib/*.a" usr/lib32
vcopy "usr/lib/*.so*" usr/lib32
2011-07-11 19:16:09 +02:00
ln -sf /lib32/libncursesw.so.6.0 ${DESTDIR}/usr/lib32/libncursesw.so
2010-05-20 18:44:44 +02:00
}