libXau: cross build support.

This commit is contained in:
Juan RP 2013-02-12 14:13:50 +01:00
parent d9ff1d5db2
commit 524acf46e8
2 changed files with 6 additions and 12 deletions

View File

@ -2,16 +2,11 @@
#
noarch=yes
depends="xproto ${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
short_desc="${short_desc} -- development files"
do_install() {
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/man/man3 usr/share/man
rm -rf ${SRCPKGDESTDIR}/usr/share
}

View File

@ -1,16 +1,15 @@
# Template build file for 'libXau'.
pkgname=libXau
version=1.0.5
revision=4
revision=5
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config xproto"
crossmakedepends="xproto"
short_desc="Authorization Protocol for X"
homepage="$XORG_SITE"
license="MIT"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=a503b3e88d29fa9c45cce1b2d1af54106c2ce21491348c394e251a071d8108ee
long_desc="
LibXau is an authorization protocol for X."