ed: cross build support.

This commit is contained in:
Juan RP 2013-04-25 10:48:29 +02:00
parent 8931206a72
commit 9b0ba0171b
1 changed files with 13 additions and 1 deletions

View File

@ -2,7 +2,6 @@
pkgname=ed pkgname=ed
version=1.8 version=1.8
revision=1 revision=1
build_style=gnu-configure
short_desc="GNU Line-oriented text editor" short_desc="GNU Line-oriented text editor"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3" license="GPL-3"
@ -16,6 +15,19 @@ long_desc="
and cannot execute shell commands. Ed is the standard text editor in the 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." 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() { ed_package() {
pkg_install() { pkg_install() {
vmove usr vmove usr