void-packages/srcpkgs/ed/template

36 lines
991 B
Text
Raw Normal View History

2010-11-26 00:29:24 +00:00
# Template file for 'ed'
pkgname=ed
2013-04-25 07:40:31 +00:00
version=1.8
2012-11-24 17:49:35 +00:00
revision=1
2010-11-26 00:29:24 +00:00
short_desc="GNU Line-oriented text editor"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-01-02 09:21:08 +00:00
license="GPL-3"
2012-07-09 15:20:26 +00:00
homepage="http://www.gnu.org/software/ed/ed.html"
distfiles="http://ftp.gnu.org/gnu/ed/ed-$version.tar.gz"
2013-04-25 07:40:31 +00:00
checksum=64c138d33b1ea4b9daa88e045da0619e2a43cb99a9d378417d20163f410a7273
2010-11-26 00:29:24 +00:00
long_desc="
GNU ed is a line-oriented text editor. It is used to create, display, modify
and otherwise manipulate text files, both interactively and via shell scripts.
A restricted version of ed, red, can only edit files in the current directory
and cannot execute shell commands. Ed is the standard text editor in the
2010-11-26 00:29:24 +00:00
sense that it is the original editor for Unix, and thus widely available."
2013-04-25 08:48:29 +00:00
do_configure() {
./configure --prefix=/usr \
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
}
ed_package() {
pkg_install() {
vmove usr
}
}