X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by lists.alpinelinux.org (Postfix) with ESMTP id 7ACB61EB587 for ; Fri, 22 Oct 2010 20:19:01 +0000 (UTC) Received: by gxk2 with SMTP id 2so1002646gxk.13 for ; Fri, 22 Oct 2010 13:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=hESBr2V9XrFsI0py8jyPTKnoUby3qK7q6bS1CnNqq60=; b=L4TM2TLxgD9XpC3T18//dbjLPXEvVD76TEo8sj1ndT5GK0daNpBfTuN5RZfjLekJxq RTcytfUde2ouIKsDsFFtY8GZmFUbx74AE9rAniZDSMM/umLxYvvCUJeeryadmKMj2hl1 /+oOog4Ov9CpisEk6bmiccb6JQRV2k3uSFJ1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=lI7sU7hsnpS7iRPk1ptS0yPCPitAmPIDV0cwNOxsxefuPXedZKOROZ23j1FhBcRnCj PKtG3YLk0RP0qIUWSbkFUMtarterzCSt4kQIeWkJTq9Mj9kjsbOEkCxsLKS3XihuwDNW lfASf79VWsmdKidISiOHivg82KfSCqkoeVs/g= Received: by 10.100.228.17 with SMTP id a17mr2489384anh.189.1287778740414; Fri, 22 Oct 2010 13:19:00 -0700 (PDT) Received: from localhost.localdomain (216-250-178-76.dsl.iphouse.net [216.250.178.76]) by mx.google.com with ESMTPS id 3sm3973045ano.21.2010.10.22.13.18.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Oct 2010 13:18:59 -0700 (PDT) From: Lee Hinman To: alpine-devel@lists.alpinelinux.org Cc: Lee Hinman Subject: [alpine-devel] [PATCH] APKBUILD file for mg a Micro GNU/emacs Date: Fri, 22 Oct 2010 10:17:54 -0500 Message-Id: <1287760674-2029-1-git-send-email-hinman@gmail.com> X-Mailer: git-send-email 1.6.6.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/mg/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) create mode 100644 testing/mg/APKBUILD diff --git a/testing/mg/APKBUILD b/testing/mg/APKBUILD new file mode 100644 index 0000000..a695ec5 --- /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" -- 1.6.6.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---