# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="GNUstep base package" HOMEPAGE="http://www.gnustep.org" SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-util/gnustep-make-1.6 >=dev-libs/libxml2-2.4.23" src_compile() { # First clear some old environment variables USER= USERNAME= . /usr/GNUstep/System/Makefiles/GNUstep.sh econf \ --with-xml-prefix=/usr \ --with-gmp-include=/usr/include \ --with-gmp-library=/usr/lib || die "./configure failed" make || die } src_install() { # First clear some old environment variables USER= USERNAME= . /usr/GNUstep/System/Makefiles/GNUstep.sh make install \ GNUSTEP_INSTALLATION_DIR=${D}/usr/GNUstep/System \ INSTALL_ROOT_DIR=${D} \ || die "install failed" } pkg_postinst() { einfo "You should set the local timezone and language with the defaults command now." einfo einfo "i.e. \"defaults write NSGlobalDomain \"Local Time Zone\" America/Chicago\"" einfo " \"defaults write NSGlobalDomain NSLanguages \"English\"\"" einfo einfo "Time zones can be found in" einfo " /usr/GNUstep/System/Libraries/Resources/NSTimeZones/zones/" einfo einfo "Make sure that you type" einfo " \". /usr/GNUstep/System/Makefiles/GNUstep.sh\" first to set the right PATH" }