X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-fx0-f178.google.com (mail-fx0-f178.google.com [209.85.220.178]) by lists.alpinelinux.org (Postfix) with ESMTP id B967B170000BA for ; Mon, 2 Mar 2009 17:00:57 +0000 (UTC) Received: by fxm26 with SMTP id 26so2120855fxm.25 for ; Mon, 02 Mar 2009 09:00:57 -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=w13+8YWKtHBd79r2GUpQyzGVCfRoDTED6NZpvXGRJks=; b=wyBwYt3cYWYyXSE78BFqBQUHhGDfdfQ50VUenMu54lA1r8MAPTv9pLo6GhV4VsEIHF lx+7UXzMk5Z+h3GlPLkz/8vIbJ/fUATOFw4GVFBfnBNoBEc/tMgAdKapoO8AOGSSwFsu yC6gnw9Lji+FblVmjrmI6gJcZn+0tH3uioArA= 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=ab2oM69UiE8V1mQDpnnAejgFBUo8MqoFRE1hdfW8i+gquxv4mOiCuXkEKKAzt04rWw c73dKQdUPz2cgOSRuBGc1NIauVJWMwl10nJOL7rkfyf0HXT0BpnSOM8AWy0rk3jTPS1P M1PZ22A1CpY49MN7qsvfghV037o9EyCWhaH0I= Received: by 10.86.51.2 with SMTP id y2mr5776839fgy.2.1236013257087; Mon, 02 Mar 2009 09:00:57 -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 d4sm12206541fga.45.2009.03.02.09.00.53 (version=SSLv3 cipher=RC4-MD5); Mon, 02 Mar 2009 09:00:56 -0800 (PST) Subject: Re: [alpine-devel] extra/ghostscript From: Natanael Copa To: Cameron Banta Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <531b02ea0903012006j67b09aa3p58ac731e6645a160@mail.gmail.com> References: <531b02ea0903012006j67b09aa3p58ac731e6645a160@mail.gmail.com> Content-Type: text/plain Date: Mon, 02 Mar 2009 18:00:51 +0100 Message-Id: <1236013251.32572.61.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 Sun, 2009-03-01 at 22:06 -0600, Cameron Banta wrote: > Hello, > > Please review and commit this package. Nice! looks very good. some nitpick follows.. > > Thanks > Cameron > > > > > > > differences > between files > attachment > (0001-extra-ghostscript-initial-commit.patch) > > From 3d266799b506a959a98671287f5321b15b74b998 Mon Sep 17 00:00:00 2001 > From: Cameron Banta > Date: Mon, 2 Mar 2009 03:52:12 +0000 > Subject: [PATCH] initial commit > > --- > extra/ghostscript/APKBUILD | 48 > ++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 48 insertions(+), 0 deletions(-) > create mode 100644 extra/ghostscript/APKBUILD > > diff --git a/extra/ghostscript/APKBUILD b/extra/ghostscript/APKBUILD > new file mode 100644 > index 0000000..dc5f75f > --- /dev/null > +++ b/extra/ghostscript/APKBUILD > @@ -0,0 +1,48 @@ > +# Contributor: Cameron Banta > +# Maintainer: Cameron Banta > +pkgname=ghostscript > +pkgver=8.64 > +pkgrel=0 > +pkgdesc="An interpreter for the PostScript language and for PDF" > +url="http://ghostscript.com/" > +license="GPL" > +depends="uclibc" > +makedepends="" > +install= > +#subpackages="$pkgname-doc $pkgname-dev" this line should be removed. > +subpackages="$pkgname-doc" > +source="http://ghostscript.com/releases/$pkgname-$pkgver.tar.gz" > + > +build() { > + cd "$srcdir/$pkgname-$pkgver" > + > + ./configure --prefix=/usr \ > + --sysconfdir=/etc \ > + --mandir=/usr/share/man \ > + --infodir=/usr/share/info \ > + --with-drivers=FILES \ > + --disable-cups --disable-gtk --disable-cairo \ > + --docdir=/usr/share/doc/"$pkgname" > + make || return 1 > + make DESTDIR="$pkgdir" install > + > + # license and copying > + install -m644 -D "$srcdir/$pkgname-$pkgver/LICENSE" \ > + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" > + install -m644 -D "$srcdir/$pkgname-$pkgver/doc/COPYING" \ > + "$pkgdir/usr/share/licenses/$pkgname/COPYING" > + > + > + > + # make the doc and examples more alpine like > + # (the --docdir above doesn't seem to work so good) Nice that you comment why you do like you do. > + mkdir -p "$pkgdir/usr/share/doc/$pkgname" > + mv "$pkgdir/usr/share/$pkgname/$pkgver/doc" "$pkgdir/usr/share/doc/$pkgname" > + mv "$pkgdir/usr/share/$pkgname/$pkgver/examples" "$pkgdir/usr/share/doc/$pkgname" > + > + > + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname > + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname those 2 lines should be removed. Unlikely that ghostscript will ever have an init.d script. > +} > + > +md5sums="dd927ecf7e4db38b62be3dc17b1b04d2 ghostscript-8.64.tar.gz" I apply as is. thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---