mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
43 lines
967 B
Text
43 lines
967 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxi
|
|
pkgver=1.8.2
|
|
pkgrel=0
|
|
pkgdesc="X11 Input extension library"
|
|
url="https://www.x.org"
|
|
arch="all"
|
|
license="MIT AND X11"
|
|
options="!check" # No test suite.
|
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
|
makedepends="
|
|
xorgproto
|
|
libx11-dev
|
|
libxext-dev
|
|
libxfixes-dev
|
|
util-macros
|
|
xmlto
|
|
"
|
|
source="https://www.x.org/releases/individual/lib/libXi-$pkgver.tar.xz"
|
|
builddir="$srcdir/libXi-$pkgver"
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--with-xmlto \
|
|
--without-fop \
|
|
--enable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="
|
|
6348aae8f595217e26f348184dd594d83af800949f649bfd11b6aef7387faa5624ed18551fe2c3a38c8deab9d7473f72fd7e3e8472cff3ff30d4bb3fb2e6dc31 libXi-1.8.2.tar.xz
|
|
"
|