mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-05 00:32:17 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
41 lines
974 B
Plaintext
41 lines
974 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxcomposite
|
|
pkgver=0.4.4
|
|
pkgrel=0
|
|
pkgdesc="X11 Composite extension library"
|
|
url="http://xorg.freedesktop.org/"
|
|
arch="all"
|
|
license="custom"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
depends=
|
|
depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev"
|
|
makedepends="libxfixes-dev libxext-dev compositeproto"
|
|
source="http://xorg.freedesktop.org//releases/individual/lib/libXcomposite-$pkgver.tar.bz2"
|
|
|
|
_builddir="$srcdir"/libXcomposite-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
chmod u+w config.sub
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
md5sums="f7a218dcbf6f0848599c6c36fc65c51a libXcomposite-0.4.4.tar.bz2"
|