emacs just without x

This commit is contained in:
hanspolo 2013-12-27 23:15:43 +01:00
parent b9aa226e9a
commit 937ede496e
2 changed files with 3 additions and 37 deletions

View File

@ -1 +0,0 @@
emacs

View File

@ -7,47 +7,14 @@ license="GPL-3"
homepage="http://www.gnu.org/software/${pkgname}/"
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41
short_desc="GNU Emacs Editor"
long_desc="GNU Emacs is an extensible, customizable text editor—and more."
short_desc="GNU Emacs Editor without X support"
makedepends="libxml2-devel>=2.7.0_1 ncurses-devel>=5.8_1"
build_style="gnu-configure"
configure_args=""
configure_args="--without-x"
do_configure() {
mkdir x nox
cd ${wrksrc}/x
../configure ${configure_args}
cd ${wrksrc}/nox
../configure ${configure_args} --without-x
}
do_build() {
cd ${wrksrc}/x
make ${makejobs}
cd ${wrksrc}/nox
make ${makejobs}
}
do_install() {
cd ${wrksrc}/x
make DESTDIR=${DESTDIR}/x install
cd ${wrksrc}/nox
make DESTDIR=${DESTDIR}/nox install
}
emacs_package() {
pkg_install() {
vmove "x/*"
}
}
emacs-nox_package() {
short_desc+=" without X support"
pkg_install() {
vmove "nox/*"
vmove all
}
}