diff options
author | Lee Hinman <hinman@gmail.com> | 2010-10-22 10:17:54 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-23 08:13:53 +0000 |
commit | b79b621fef91e49c575bc87772241a3cc1f12d55 (patch) | |
tree | 6f110d38273f6f4eba59db22124a7c6683f612fb | |
parent | 9745eefa6bb804f0e4edb5f3834e5779772444c7 (diff) | |
download | aports-b79b621fef91e49c575bc87772241a3cc1f12d55.tar.bz2 aports-b79b621fef91e49c575bc87772241a3cc1f12d55.tar.xz |
APKBUILD file for mg a Micro GNU/emacs
-rw-r--r-- | testing/mg/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/mg/APKBUILD b/testing/mg/APKBUILD new file mode 100644 index 000000000..a695ec546 --- /dev/null +++ b/testing/mg/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: +# Maintainer: +pkgname=mg +pkgver=20090107 +pkgrel=0 +pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team." +url="http://homepage.boetes.org/software/mg" +license="public-domain BSD" +depends= +makedepends="ncurses-dev" +install= +subpackages="$pkgname-doc" +source="http://homepage.boetes.org/software/$pkgname/$pkgname-$pkgver.tar.gz" + +# append extra dependencies to -dev subpackage +# remove if not used. +# depends_dev="somepackage-dev" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure + make prefix=/usr mandir=/usr/share/man || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" prefix=/usr mandir=/usr/share/man install + + # remove the 2 lines below (and this) if there is no init.d script + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="f25a139da44c3a2f760ffec531bd996e mg-20090107.tar.gz" |