ed: cross build support.

This commit is contained in:
Juan RP 2013-04-25 10:48:29 +02:00
parent 8931206a72
commit 9b0ba0171b

View file

@ -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 <xtraeme@gmail.com>"
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