aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxpm/APKBUILD
blob: 5232ba2257feaa33822161c17c2a3073828787c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxpm
pkgver=3.5.12
pkgrel=0
pkgdesc="X11 pixmap library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom:BELL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="libxt-dev libxext-dev libx11-dev util-linux-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXpm-$pkgver.tar.bz2"

depends_dev="libx11-dev"
build() {
	cd "$srcdir"/libXpm-$pkgver
	ac_cv_search_gettext=no \
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/libXpm-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="20f4627672edb2bd06a749f11aa97302  libXpm-3.5.12.tar.bz2"
sha256sums="fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec  libXpm-3.5.12.tar.bz2"
sha512sums="a5707d5f758d577414101b0723af334fc8ac223e5b9f869994765735e1cbd8dafed48ea2851ebc479fecaf84381bfd5fbef842ec971a487f7fa9e77d54d3a17e  libXpm-3.5.12.tar.bz2"