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 noarch=yes
depends="xproto ${sourcepkg}-${version}_${revision}" depends="xproto ${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} (development files)" short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() { do_install() {
mkdir -p ${DESTDIR}/usr/lib vmove usr/include usr
mkdir -p ${DESTDIR}/usr/share/man vmove usr/lib/pkgconfig usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr vmove usr/share/man/man3 usr/share/man
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
rm -rf ${SRCPKGDESTDIR}/usr/share rm -rf ${SRCPKGDESTDIR}/usr/share
} }

View file

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