mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Added byacc, editline, flex, m4, muon, and ncurses
...and updated treetap
This commit is contained in:
30
sources/ncurses/ncurses.spec
Normal file
30
sources/ncurses/ncurses.spec
Normal file
@@ -0,0 +1,30 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6"
|
||||
SRC_NAME="ncurses"
|
||||
SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz"
|
||||
SRC_VERSION="6.5"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd ncurses-*/
|
||||
./configure $TT_AUTOCONF_COMMON \
|
||||
--with-cxx-shared \
|
||||
--with-shared \
|
||||
--without-ada \
|
||||
--without-normal \
|
||||
--without-tests
|
||||
make -O -j $TT_PROCS
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -rf ncurses-*/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ncurses-*/
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
# NOTE: These symlinks exist for compatibility's sake, since some libraries
|
||||
# will only look for "ncurses" and not "ncursesw". ~ahill
|
||||
ln -s libncursesw.so $TT_INSTALLDIR/lib/libncurses.so
|
||||
ln -s libncurses++w.so $TT_INSTALLDIR/lib/libncurses++.so
|
||||
}
|
||||
Reference in New Issue
Block a user