2018-02-10 11:48:31 +01:00
|
|
|
VERSION="6.1"
|
2017-12-09 21:51:48 +01:00
|
|
|
SRCDIR="ncurses-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://ftp.gnu.org/gnu/ncurses/"
|
2018-02-10 11:48:31 +01:00
|
|
|
SHA256SUM="aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17"
|
2019-03-30 23:28:30 +01:00
|
|
|
DEPENDS="toolchain toolchain"
|
2019-02-28 09:11:07 +01:00
|
|
|
SUBPKG="ncurses-dev ncurses++-dev ncurses"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --with-shared --without-debug --without-ada \
|
|
|
|
--enable-widec --with-pkg-config-libdir=/lib/pkgconfig \
|
|
|
|
--enable-pc-files --disable-stripping
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
|
|
|
mkdir -p "$PKGDEPLOYDIR/include/ncurses"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
2019-03-06 21:51:55 +01:00
|
|
|
mv ${PKGDEPLOYDIR}/include/ncursesw/*.h "$PKGDEPLOYDIR/include"
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
2019-03-30 10:40:54 +01:00
|
|
|
check_update_simple "$URL" "ncurses-" "tar.gz"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|