diff options
author | Cameron Banta <cbanta@gmail.com> | 2009-03-02 03:52:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-02 14:49:05 +0000 |
commit | 3f93dcc569b830cccd2f27c1ec9c329265285e69 (patch) | |
tree | 0f1660150c1ac943b845695342a909e10cc476b1 /extra/ghostscript | |
parent | 20418e7472c40b2e20bb535a4ee242cb97e49e32 (diff) | |
download | aports-3f93dcc569b830cccd2f27c1ec9c329265285e69.tar.bz2 aports-3f93dcc569b830cccd2f27c1ec9c329265285e69.tar.xz |
initial commit
Diffstat (limited to 'extra/ghostscript')
-rw-r--r-- | extra/ghostscript/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/extra/ghostscript/APKBUILD b/extra/ghostscript/APKBUILD new file mode 100644 index 00000000..dc5f75f7 --- /dev/null +++ b/extra/ghostscript/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Cameron Banta <cbanta@gmail.com> +# Maintainer: Cameron Banta <cbanta@gmail.com> +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" +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) + 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 +} + +md5sums="dd927ecf7e4db38b62be3dc17b1b04d2 ghostscript-8.64.tar.gz" |