ed: cross build support.
This commit is contained in:
parent
8931206a72
commit
9b0ba0171b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue