| File: lib/ncurses/Makefile | |
|---|---|
| base-0 | patch-1 |
| Line 1 | Line 1 |
| GARNAME = ncurses | GARNAME = ncurses |
| GARVERSION = 5.2 | GARVERSION = 5.3 |
| CATEGORIES = lib | CATEGORIES = lib |
| MAINTAINER = Nate Riffe <inkblot@movealong.org> | |
| MASTER_SITES = ftp://ftp.gnu.org/gnu/ncurses/ DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz | MASTER_SITES = ftp://ftp.gnu.org/gnu/ncurses/ DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz |
| PATCHFILES = gar-base.diff | |
| LICENSE = MIT DESCRIPTION = Shared libraries for terminal handling | LICENSE = MIT DESCRIPTION = Shared libraries for terminal handling |
| Line 11 | Line 13 |
| programs compiled with ncurses. endef | programs compiled with ncurses. endef |
| LIBDEPS = devel/glibc | |
| CONFIGURE_SCRIPTS = $(WORKSRC)/configure | CONFIGURE_SCRIPTS = $(WORKSRC)/configure |
| CONFIGURE_ENV = CXXCPP=$(CPP) CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) --with-shared --without-static --without-debug --enable-termcap --without-ada --without-ada-compiler --enable-overwrite $(if $(filter $(CROSS_COMPILING),yes),--with-build-cc=$(build_CC) --with-build-cflags="$(build_CFLAGS) -I../include" --with-build-cppflags="$(build_CPPFLAGS) -I../include" --with-build-ldflags="$(build_LDFLAGS)",) | |
| BUILD_SCRIPTS = $(WORKSRC)/Makefile | BUILD_SCRIPTS = $(WORKSRC)/Makefile |
| INSTALL_SCRIPTS = $(WORKSRC)/Makefile | |
| # ncurses won't build in parallel BUILD_ARGS = -j1 CONFIGURE_ARGS = $(DIRPATHS) --disable-static --with-shared --enable-termcap --without-cxx-binding --without-ada --without-ada-compiler | INSTALL_SCRIPTS = $(WORKSRC)/Makefile |
| include ../../gar.mk | include ../../gar.mk |
| CROSS_COMPILING = $(if $(filter $(GARBUILD),$(GARHOST)),no,yes) | |
| post-install: cd $(DESTDIR)$(libdir) && ln -sf libncurses.so libtermcap.so | post-install: cd $(DESTDIR)$(libdir) && ln -sf libncurses.so libtermcap.so |
| $(MAKECOOKIE) | |