X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from psyche.piasta.pl (psyche.piasta.pl [83.175.144.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 6025212E1042 for ; Sat, 25 Jun 2011 18:03:48 +0000 (UTC) Received: from [10.0.20.128] (helo=desant) by psyche.piasta.pl with esmtpa (Pocztex KoBa) (envelope-from ) id 1QaXCq-0004y9-Cp; Sat, 25 Jun 2011 20:03:44 +0200 Date: Sat, 25 Jun 2011 20:03:44 +0200 From: Paul Onyschuk To: Fabian Affolter Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] weplab APKBUILD Message-Id: <20110625200344.26051046.blink@bojary.koba.pl> In-Reply-To: <4E0611C5.3020306@affolter-engineering.ch> References: <4E0611C5.3020306@affolter-engineering.ch> X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Invalid-HELO: HELO is no FQDN (contains no dot) (See RFC2821 4.1.1.1) X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Date: 2011-06-25 20:03:44 On Sat, 25 Jun 2011 18:50:13 +0200 Fabian Affolter wrote: > > Hi all, > > Some minutes ago I sent an initial APKBUILD for weplab [1] to this > list. It's my first package for Alpine Linux and because of that I > really would like to get some feedback. > > Thanks in advance. > Hi Fabian. I'm not experienced with aports either, but I can point out few thing. Option "depends_dev" is used to specify dependencies of dev subpackage. It's pretty common that "makedepends" shares some entries with "depends_dev", but with weplab it isn't the case - weplab doesn't have dev subpackage. So you need only: makedepends="libpcap-dev wireless-tools-dev" Secondly intructions like install should be always included in package() section. Nice thing about aports is that, you can run commands like "abuild prepare", "abuild build" and so on. Putting "install" in build() section pretty much kills purpose of this separation. On the side notes, I don't see any reason why you should provide weplab package with license file. Weblap uses standard license (GPL2) and ain't no library. Rest is fine :) Cheers. -- Paul Onyschuk --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---