diff --git a/ncurses/build.sh b/ncurses/build.sh new file mode 100755 index 0000000..61d4c3f --- /dev/null +++ b/ncurses/build.sh @@ -0,0 +1,66 @@ +#!/bin/bash +# +# This is a generic build.sh script +# It can be used nearly unmodified with many packages +# +# build.sh helper functions +. ${BUILDPKG_BASE}/scripts/build.sh.functions +# +########################################################### +# Check the following 4 variables before running the script +topdir=ncurses +version=5.6 +pkgver=1 +source[0]=$topdir-$version.tar.gz +# If there are no patches, simply comment this +#patch[0]= + +# Source function library +. ${BUILDPKG_BASE}/scripts/buildpkg.functions + +# Global settings +export CPPFLAGS="-I$prefix/include" +export LDFLAGS="-L$prefix/lib -R$prefix/lib" +configure_args="$configure_args --with-shared --without-debug --with-install-prefix=${stagedir} --disable-rpath --enable-symlinks --with-manpage-format=normal --without-ada" + +reg prep +prep() +{ + generic_prep +} + +reg build +build() +{ + generic_build +} + +reg check +check() +{ + generic_check +} + +reg install +install() +{ + generic_install DESTDIR + doc NEWS INSTALL TO-DO ANNOUNCE AUTHORS +} + +reg pack +pack() +{ + generic_pack +} + +reg distclean +distclean() +{ + clean distclean +} + +################################################### +# No need to look below here +################################################### +build_sh $* diff --git a/ncurses/meta/depend b/ncurses/meta/depend new file mode 100644 index 0000000..1969e98 --- /dev/null +++ b/ncurses/meta/depend @@ -0,0 +1 @@ +TGCncursd ncurses auto diff --git a/ncurses/meta/pkgdef b/ncurses/meta/pkgdef new file mode 100644 index 0000000..d2d898b --- /dev/null +++ b/ncurses/meta/pkgdef @@ -0,0 +1,41 @@ +[ncurses] +pkgname="${pkgprefix}ncurs" +name="ncurses - New Curses terminal handling library" +pkgcat="application" +pkgvendor="http://dickey.his.com/ncurses/ncurses.html" +shortdesc="Displays and updates text on text-only terminals" +pkgver="$pkgver" +files(-,root,bin) +default_docs +$_bindir/captoinfo +$_bindir/clear +$_bindir/infocmp +$_bindir/infotocap +$_bindir/reset +$_bindir/tack +$_bindir/tic +$_bindir/toe +$_bindir/tput +$_bindir/tset +$_sharedir/tabset +$_sharedir/terminfo +$_libdir/*.so.* +$_libdir/terminfo +$_mandir/man1 +$_mandir/man5 +$_mandir/man7 + +[ncurses-devel] +pkgname="${pkgprefix}ncursd" +name="ncurses - Ncurses development support" +pkgcat="system" +pkgvendor="http://dickey.his.com/ncurses/ncurses.html" +shortdesc="Files needed for developing with ncurses" +pkgver="$pkgver" +files(-,root,bin) +$_bindir/ncurses5-config +$_includedir +$_libdir/*.so +$_libdir/*.a +$_mandir/man3 + diff --git a/ncurses/meta/relnotes b/ncurses/meta/relnotes new file mode 100644 index 0000000..bd83629 --- /dev/null +++ b/ncurses/meta/relnotes @@ -0,0 +1,27 @@ +PACKAGE DETAILS +--------------- +Name: %%PKGNAME%% +Version: %%SOURCE_AND_VER%% +Vendor: %%VENDOR%% +Packager: %%PKGEDBY%% + +Source (sha1sum): +%%SOURCE_SHA1SUM%% + +BUILD DETAILS +------------- +Compiler: +%%COMPILER%% + +Environment: +%%ENVIRONMENT%% + +Configure: +%%CONFIGURE%% + +KNOWN DEPENDENCIES +------------------ +%%DEPENDENCIES%% + +ERRORS/MISCELLANEOUS +--------------------