ed: cross build support.
This commit is contained in:
parent
8931206a72
commit
9b0ba0171b
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue