Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
[package]
|
||||
name = "ncurses"
|
||||
version = "6.6"
|
||||
revision = 1
|
||||
description = "libraries for terminal-independent handling of character screens"
|
||||
homepage = "https://invisible-island.net/ncurses/"
|
||||
license = "MIT"
|
||||
|
||||
[[source]]
|
||||
url = "https://mirrors.kernel.org/gnu/ncurses/ncurses-$version.tar.gz"
|
||||
sha256 = "355b4cbbed880b0381a04c46617b7656e362585d52e9cf84a67e2009b749ff11"
|
||||
extract_dir = "$name-$version"
|
||||
|
||||
[build]
|
||||
type = "autotools"
|
||||
|
||||
[build.flags]
|
||||
configure = [ "--with-shared", "--without-normal", "--with-cxx-shared", "--without-debug", "--enable-pc-files", "--with-pkg-config-libdir=/usr/lib/pkgconfig" ]
|
||||
configure-lib32 = [ "--with-shared", "--without-normal", "--with-cxx-shared", "--without-debug", "--enable-pc-files", "--with-pkg-config-libdir=/usr/lib32/pkgconfig" ]
|
||||
post_install = [ "ln -sv libncursesw.so $DESTDIR/usr/lib/libncurses.so", "sed -e 's/^#if.*XOPEN.*$/#if 1/' -i $DESTDIR/usr/include/curses.h", "for lib in ncurses form panel menu; do ln -sfv lib${lib}w.so $DESTDIR/usr/lib/lib${lib}.so; ln -sfv ${lib}w.pc $DESTDIR/usr/lib/pkgconfig/${lib}.pc; done" ]
|
||||
build_32 = true
|
||||
post_install-lib32 = [ "ln -sv libncursesw.so $DESTDIR/usr/lib32/libncurses.so", "for lib in ncurses form panel menu; do ln -sfv lib${lib}w.so $DESTDIR/usr/lib32/lib${lib}.so; ln -sfv ${lib}w.pc $DESTDIR/usr/lib32/pkgconfig/${lib}.pc; done" ]
|
||||
|
||||
[dependencies]
|
||||
runtime = [ "glibc", "libunwind", "libcxx" ]
|
||||
|
||||
[dependencies.lib32]
|
||||
runtime = [ "lib32-glibc", "lib32-libunwind", "lib32-libcxx" ]
|
||||
Reference in New Issue
Block a user