37 lines
968 B
Bash
37 lines
968 B
Bash
# Template file for 'libX11'
|
|
pkgname=libX11
|
|
version=1.8.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
|
|
--enable-static --enable-malloc0returnsnull
|
|
--disable-thread-safety-constructor"
|
|
hostmakedepends="pkg-config xorg-util-macros xorgproto"
|
|
makedepends="xorgproto xtrans libxcb-devel"
|
|
short_desc="Base X libraries from Xorg"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="http://xorg.freedesktop.org/"
|
|
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
|
|
checksum=1bc41aa1bbe01401f330d76dfa19f386b79c51881c7bbfee9eb4e27f22f2d9f7
|
|
|
|
do_configure() {
|
|
./configure ${configure_args}
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libX11-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|