Merge pull request #6538 from CMB/skalibscross

skalibs: allow cross compilation.
This commit is contained in:
Enno Boland 2017-06-09 14:35:16 +02:00 committed by GitHub
commit 979bc766fb
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
pkgname=skalibs
version=2.5.1.1
revision=1
nocross=yes
_sysdepspkg=skaware-void-sysdeps
build_style=gnu-configure
configure_args="--libdir=/usr/lib --enable-static --enable-shared --enable-clock
--enable-monotonic --enable-force-devr --datadir=/usr/share/$pkgname"
@ -15,6 +15,12 @@ checksum=aa387f11a01751b37fd32603fdf9328a979f74f97f0172def1b0ad73b7e8d51d
CFLAGS="-D_DEFAULT_SOURCE"
if [ "$CROSS_BUILD" ]; then
distfiles+=" https://github.com/CMB/${_sysdepspkg}/archive/${version}.tar.gz"
checksum+=" a0c132972d2342d4ad2e6fde218173e7340d5c1d143b48d5a6c0c238e737ca1e"
configure_args+=" --with-sysdeps=../${_sysdepspkg}-${version}/${XBPS_CROSS_TRIPLET}"
fi
post_install() {
vlicense COPYING LICENSE
}