0cfd33b8f4
ncurses now builds the widec version by default and provides non-widec for compatiblity. ABI has been bumped because I've enabled "--enable-ext-colors" which changes the soname to foo.so.6. Removed the ncursesw packages.
29 lines
868 B
Plaintext
29 lines
868 B
Plaintext
# Template file for 'ncurses-devel'.
|
|
#
|
|
short_desc="${sourcepkg} development files"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains files for development: headers, static libs, etc."
|
|
|
|
replaces="ncursesw-devel>=0"
|
|
Add_dependency run glibc-devel
|
|
Add_dependency run ncurses
|
|
|
|
do_install()
|
|
{
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
mkdir -p ${DESTDIR}/usr/bin
|
|
mkdir -p ${DESTDIR}/usr/share/man/man1
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
|
mv ${SRCPKGDESTDIR}/usr/bin/ncursesw6-config ${DESTDIR}/usr/bin
|
|
ln -sf ../../usr/bin/ncursesw6-config \
|
|
${DESTDIR}/usr/bin/ncursesw5-config
|
|
ln -sf ../../usr/bin/ncursesw6-config \
|
|
${DESTDIR}/usr/bin/ncurses5-config
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man1/ncursesw6-config.1* \
|
|
${DESTDIR}/usr/share/man/man1
|
|
}
|