mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 18:22:30 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxres
|
|
pkgver=1.0.7
|
|
pkgrel=0
|
|
pkgdesc="X11 Resource extension library"
|
|
url="http://xorg.freedesktop.org"
|
|
arch="all"
|
|
license="custom"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
depends=
|
|
depends_dev="xproto resourceproto libx11-dev libxext-dev"
|
|
makedepends="$depends_dev"
|
|
source="http://xorg.freedesktop.org/releases/individual/lib/libXres-$pkgver.tar.bz2
|
|
"
|
|
|
|
_builddir="$srcdir"/libXres-$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 "$_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="45ef29206a6b58254c81bea28ec6c95f libXres-1.0.7.tar.bz2"
|
|
sha256sums="26899054aa87f81b17becc68e8645b240f140464cf90c42616ebb263ec5fa0e5 libXres-1.0.7.tar.bz2"
|
|
sha512sums="796a79ab694317910442cb10a936711df9dde95764eef11efb8dedc85114977e56409de2f640553f1ad492325df178b8cfbeaeec3f03bf084638c555e44292e0 libXres-1.0.7.tar.bz2"
|