diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-18 05:31:34 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-18 05:31:34 -0500 |
commit | c8c98e53a2fdbdae183a777c2673e98bf1b1468e (patch) | |
tree | 0dccdfbcfb807c3e617691a6a483da4d087469a7 | |
parent | adbcffeb6ac309ac683e547847aa1b9452e10a5c (diff) | |
download | packages-c8c98e53a2fdbdae183a777c2673e98bf1b1468e.tar.gz packages-c8c98e53a2fdbdae183a777c2673e98bf1b1468e.tar.bz2 packages-c8c98e53a2fdbdae183a777c2673e98bf1b1468e.tar.xz packages-c8c98e53a2fdbdae183a777c2673e98bf1b1468e.zip |
system/ed: bring in for patch
-rw-r--r-- | system/ed/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/system/ed/APKBUILD b/system/ed/APKBUILD new file mode 100644 index 000000000..b47e03f7a --- /dev/null +++ b/system/ed/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: +pkgname=ed +pkgver=1.14.2 +pkgrel=2 +pkgdesc="GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files" +url="https://www.gnu.org/software/ed/" +arch="all" +license="GPL-3.0+" +depends="" +makedepends="" +subpackages="$pkgname-doc" +source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.lz" + +builddir=$srcdir/$pkgname-$pkgver + +build() { + cd "$builddir" + # bindir needs correspond with busybox location + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --bindir=/bin \ + --mandir=/usr/share/man + make all +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="653bcb89788b2d18c726336fb6f17678ac031fe6ea03a93ff248886a075c867ba5423d5471401e44cbdcce3b4cb766b621ca7b70d76881f5044ec3412767b11f ed-1.14.2.tar.lz" |