diff --git a/srcpkgs/ed/template b/srcpkgs/ed/template index 2755ed9af2..9d240bc400 100644 --- a/srcpkgs/ed/template +++ b/srcpkgs/ed/template @@ -2,7 +2,6 @@ pkgname=ed version=1.8 revision=1 -build_style=gnu-configure short_desc="GNU Line-oriented text editor" maintainer="Juan RP " license="GPL-3" @@ -16,6 +15,19 @@ long_desc=" and cannot execute shell commands. Ed is the standard text editor in the sense that it is the original editor for Unix, and thus widely available." +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