mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 07:11:47 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxext
|
|
pkgver=1.3.3
|
|
pkgrel=1
|
|
pkgdesc="X11 miscellaneous extensions library"
|
|
url="http://xorg.freedesktop.org/"
|
|
arch="all"
|
|
license="custom"
|
|
depends=
|
|
depends_dev="libx11-dev libxau-dev"
|
|
makedepends="$depends_dev xproto"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://xorg.freedesktop.org/releases/individual/lib/libXext-$pkgver.tar.bz2
|
|
"
|
|
|
|
|
|
_builddir="$srcdir"/libXext-$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir"/libXext-$pkgver
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
|| return 1
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/libXext-$pkgver
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
md5sums="52df7c4c1f0badd9f82ab124fb32eb97 libXext-1.3.3.tar.bz2"
|
|
sha256sums="b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35 libXext-1.3.3.tar.bz2"
|
|
sha512sums="669d61545d10b999872addbf5628127840a221cbeaafb5ffa4328e0e0e1823583ece973bcafd5f13852ed58d4b0fe313a35f304ac80c6ed2b382cbbca977761a libXext-1.3.3.tar.bz2"
|