mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 05:12:18 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxp
|
|
pkgver=1.0.3
|
|
pkgrel=0
|
|
pkgdesc="X.Org X11 libXp runtime library"
|
|
url="http://www.x.org"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=
|
|
depends_dev="libx11-dev libxext-dev libxau-dev printproto"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://xorg.freedesktop.org/releases/individual/lib/libXp-$pkgver.tar.bz2
|
|
"
|
|
|
|
_builddir="$srcdir"/libXp-$pkgver
|
|
prepare() {
|
|
local i
|
|
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 \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="df9e6bf0d988de6694f08693b8002079 libXp-1.0.3.tar.bz2"
|
|
sha256sums="7f360c9905849c3587d48efc0f0ecbc852c19f61a52b18530d6b005cb9148c57 libXp-1.0.3.tar.bz2"
|
|
sha512sums="502a2500ec0f519dae69ac035bf93c65c47e3bc301604aacb350e90043455f3485626194db45208e5521300b282843825e08b7f7c412a7497ffa02f5f1560c8d libXp-1.0.3.tar.bz2"
|