void-packages/srcpkgs/ncurses32/template

47 lines
1.5 KiB
Text
Raw Normal View History

2010-05-20 16:44:44 +00:00
# Template file for 'ncurses32'
pkgname=ncurses32
2011-07-11 17:01:05 +00:00
version=5.9
2010-05-20 16:44:44 +00:00
distfiles="
2011-07-11 17:01:05 +00: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"
revision=1
2010-05-20 16:44:44 +00:00
short_desc="A System V Release 4.0 curses emulation library (32 bits)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum="
2011-07-11 17:01:05 +00:00
1a4593225d3d4bc96d423c1dae519d4b0271fd20007065a6751d044a2b7cca6c
59318d6cebe8f839a26d4a6114762bbec9d49a0dcaf1bbee5e25fd296a82cb31"
2010-05-20 16:44:44 +00: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 17:01:05 +00:00
This package installs the ncurses 32 bit libraries for x86_64 systems."
2010-05-20 16:44:44 +00: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 17:01:05 +00:00
bsdtar xf ${srcfile} -C ${wrksrc}
2010-05-20 16:44:44 +00:00
done
2011-07-11 17:01:05 +00: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 17:16:09 +00:00
ln -sf /lib32/libncursesw.so.6.0 ${DESTDIR}/usr/lib32/libncursesw.so
2010-05-20 16:44:44 +00:00
}