File: shells/bash/Makefile
base-0 patch-1
Line 3Line 3
CATEGORIES = shells
MAINTAINER = Nate Riffe <inkblot@movealong.org>
MASTER_SITES = ftp://ftp.gnu.org/pub/gnu/bash/
CATEGORIES = shells
MAINTAINER = Nate Riffe <inkblot@movealong.org>
MASTER_SITES = ftp://ftp.gnu.org/pub/gnu/bash/
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz cross-cache
PATCHFILES = gar-base.diff
# there used to be a utils/termcap LIBDEPS here but it isn't needed since
# we are telling BASH to use ncurses with the provided --with-curses option
LICENSE = GPL2
# there used to be a utils/termcap LIBDEPS here but it isn't needed since
# we are telling BASH to use ncurses with the provided --with-curses option
LICENSE = GPL2
Line 13Line 14
This is an advanced Bourne-compatible shell.
endef

This is an advanced Bourne-compatible shell.
endef

LIBDEPS = utils/gpm utils/readline devel/glibc
SOURCES_LANGUAGES = c
LIBDEPS = utils/gpm utils/readline
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
CONFIGURE_SCRIPTS = $(WORKSRC)/configure
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile
# not needed since --with-curses option exists
# CFLAGS += -lncurses

CONFIGURE_ARGS = $(DIRPATHS) --with-curses --with-installed-readline #--host=$(GARHOST)
BUILD_ARGS = -j1


CONFIGURE_ENV = CROSS_CACHE=../cross-cache
CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) --with-curses --with-installed-readline --enable-job-control
BUILD_ARGS = CROSS_CACHE="../cross-cache" 'CC_FOR_BUILD=$(CC)'
include ../../gar.mk

post-install:
        (cd $(DESTDIR)$(bindir); ln -sf bash sh)
        $(MAKECOOKIE)
include ../../gar.mk

post-install:
        (cd $(DESTDIR)$(bindir); ln -sf bash sh)
        $(MAKECOOKIE)
#pre-everything:
#        echo $(DESTDIR)
#        echo $(BUILD_PREFIX)
#        echo $(ROOTFROMDEST)