diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-04 09:45:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-04 13:23:03 +0000 |
commit | bbd15bd9440f70e4be116b9220f522719c2c6673 (patch) | |
tree | ae16a00d1694864b550670c8696abb7267b4f8be /main/libxfont2/APKBUILD | |
parent | 3bce7aff1258c80727c5dc8343baa98c6cdc39c5 (diff) | |
download | aports-bbd15bd9440f70e4be116b9220f522719c2c6673.tar.bz2 aports-bbd15bd9440f70e4be116b9220f522719c2c6673.tar.xz |
main/libxfont2: move from testing
needed by xorg-server-1.19
Diffstat (limited to 'main/libxfont2/APKBUILD')
-rw-r--r-- | main/libxfont2/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/libxfont2/APKBUILD b/main/libxfont2/APKBUILD new file mode 100644 index 0000000000..2d9c349733 --- /dev/null +++ b/main/libxfont2/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxfont2 +pkgver=2.0.1 +pkgrel=0 +pkgdesc="X.Org X11 libXfont2 runtime library" +url="http://www.x.org" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev libfontenc-dev freetype-dev fontsproto zlib-dev + util-macros autoconf automake libtool" +install="" +subpackages="$pkgname-dev" +source="http://www.x.org/pub/individual/lib/libXfont2-$pkgver.tar.bz2 + libXfont-2.0.1-misc-fixes.patch + " +builddir="$srcdir/libXfont2-$pkgver" + +prepare() { + default_prepare + autoreconf -vif +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +sha512sums="5e4dcb587b4d25dd41124bb50d71c30b5e29663ce675b0830def82fb6e00b64ba34e1b1ed7fad947fd0da95007aa55d14f587383e4cff08c3e0a0241c8879d16 libXfont2-2.0.1.tar.bz2 +ee75a3fbe7ed6b5713e13e48247d3a8f058e07ae0bdce0d8d0b763357be646c5f09ef75a2c38ce95708025593c9acb6486351eca76ee305874ebf942f3801989 libXfont-2.0.1-misc-fixes.patch" |