X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-fx0-f161.google.com (mail-fx0-f161.google.com [209.85.220.161]) by lists.alpinelinux.org (Postfix) with ESMTP id 6FA8E170000BA for ; Mon, 23 Feb 2009 12:37:38 +0000 (UTC) Received: by fxm5 with SMTP id 5so1869526fxm.1 for ; Mon, 23 Feb 2009 04:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=wjBnSBvZJ6+4vhRQSotZE2XQW0JO3E7cLLxTlKeKwXw=; b=uckxyf+ZBpsdS7gwf646mCpU2V6xwBKlwNNSrGCyDis22xLJFFwSlV7SY03W1GJ3qL tYKG4QACoBWLmtpPkjaTpY8n6Mk3Galc/tmErHBtLMDtIV6yjtc123PoV+Lo132txXvV Jdnh6axfXUueiHmITeGTY9ZEr3x5ybLtXwNvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=MDR8Xx32WvHBFNGbQQyQ5Pl7pe5xqYlj9c9OECR3nD7YMzrKbsayxS40rEnSXEi4Rt xUO49DB0sJrBbXTb6fNGCqG1hJsomcYaUD0cNhnLRU8NAca40/ni89oQ3eL/O7vVRxrm ludqBWIasMnFyDPaedkOBlJDI13QFXDDRXXLg= Received: by 10.86.51.10 with SMTP id y10mr2869922fgy.51.1235392657536; Mon, 23 Feb 2009 04:37:37 -0800 (PST) Received: from ?10.65.65.1? (149-182-13.oke2-bras2.adsl.tele2.no [90.149.182.13]) by mx.google.com with ESMTPS id 12sm12036025fgg.53.2009.02.23.04.37.35 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 04:37:36 -0800 (PST) Subject: Re: [alpine-devel] core/nano From: Natanael Copa To: Michael Mason Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 23 Feb 2009 13:37:34 +0100 Message-Id: <1235392654.992.32.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 Content-Transfer-Encoding: 7bit On Fri, 2009-02-20 at 20:37 +0000, Michael Mason wrote: > Please apply patch. > My first one, so please let me know if there is anything wrong or > could be done better. very nice! It is a very good first APKBUILD. > Thx > > > > > > > > > > differences > between files > attachment > (0001-nano-for-alpinev1.9-first-package.patch) > > From a81e121ded6440aede878e7a4ba68bc92a435fe9 Mon Sep 17 00:00:00 2001 > From: ms13sp > Date: Fri, 20 Feb 2009 20:31:59 +0000 > Subject: [PATCH] nano for alpinev1.9 first package > > --- > core/nano/APKBUILD | 33 +++++++++++++++++++++++++++++++++ > 1 files changed, 33 insertions(+), 0 deletions(-) > create mode 100644 core/nano/APKBUILD > > diff --git a/core/nano/APKBUILD b/core/nano/APKBUILD I think that we maybe dont want this in core but in extra. Not really needed to boot/build the system. > new file mode 100644 > index 0000000..bc911ba > --- /dev/null > +++ b/core/nano/APKBUILD > @@ -0,0 +1,33 @@ > +# Contributor: ms13sp > +# Maintainer: ms13sp > +pkgname=nano > +pkgver=2.0.9 > +pkgmaj=2.0 > +pkgrel=0 > +pkgdesc="Text Editor. GNU nano is designed to be a free replacement > for the Pico text editor." > +url="http://www.nano-editor.org/" > +license="GPL" > +depends="ncurses uclibc" > +makedepends="ncurses-dev" > +install= > +subpackages="$pkgname-doc" > +source="http://www.nano-editor.org/dist/v > $pkgmaj/$pkgname-$pkgver.tar.gz" > + > +build() { > + cd "$srcdir/$pkgname-$pkgver" > + > + ./configure --prefix=/usr \ > + --sysconfdir=/etc \ > + --mandir=/usr/share/man \ > + --infodir=/usr/share/info \ > + --enable-tiny \ > + --disable-nls \ I think its a good idea to use --disable-nls. I have a feeling that not doing so migh come back and bite us later. > + --disable-speller > + make || return 1 > + make DESTDIR="$pkgdir" install > + > + # install -m755 -D "$srcdir"/$pkgname.initd > "$pkgdir"/etc/init.d/$pkgname > + # install -m644 -D "$srcdir"/$pkgname.confd > "$pkgdir"/etc/conf.d/$pkgname those lines are dead code and could be removed. > +} > + > +md5sums="2be94dc43fb60fff4626a2401a977220 nano-2.0.9.tar.gz" > -- > 1.6.1.3 I'll commit as is and move to extra. Thank you very much! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---