emacs just without x
This commit is contained in:
parent
b9aa226e9a
commit
937ede496e
2 changed files with 3 additions and 37 deletions
|
@ -1 +0,0 @@
|
||||||
emacs
|
|
|
@ -7,47 +7,14 @@ license="GPL-3"
|
||||||
homepage="http://www.gnu.org/software/${pkgname}/"
|
homepage="http://www.gnu.org/software/${pkgname}/"
|
||||||
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41
|
checksum=0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41
|
||||||
short_desc="GNU Emacs Editor"
|
short_desc="GNU Emacs Editor without X support"
|
||||||
long_desc="GNU Emacs is an extensible, customizable text editor—and more."
|
|
||||||
makedepends="libxml2-devel>=2.7.0_1 ncurses-devel>=5.8_1"
|
makedepends="libxml2-devel>=2.7.0_1 ncurses-devel>=5.8_1"
|
||||||
build_style="gnu-configure"
|
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() {
|
emacs_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "x/*"
|
vmove all
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
emacs-nox_package() {
|
|
||||||
short_desc+=" without X support"
|
|
||||||
pkg_install() {
|
|
||||||
vmove "nox/*"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue