sam: aarch64 & fix path.
This commit is contained in:
parent
093566bafd
commit
746365445e
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'sam'
|
# Template file for 'sam'
|
||||||
pkgname=sam
|
pkgname=sam
|
||||||
version=20150204
|
version=20150204
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}"
|
wrksrc="${pkgname}"
|
||||||
disable_parallel_build=yes
|
disable_parallel_build=yes
|
||||||
makedepends="libXft-devel libXt-devel"
|
makedepends="libXft-devel libXt-devel"
|
||||||
|
@ -19,11 +19,11 @@ post_extract() {
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|armv*) USE64BITS=0;;
|
i686*|armv*) USE64BITS=0;;
|
||||||
x86_64*) USE64BITS=1;;
|
x86_64*|aarch64*) USE64BITS=1;;
|
||||||
*) msg_error "Unknown word length for $XBPS_TARGET_MACHINE";;
|
*) msg_error "Unknown word length for $XBPS_TARGET_MACHINE";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
make ${makejobs} CC="${CC} ${CFLAGS} \$(SYSFLAGS)" \
|
make ${makejobs} CC="${CC} ${CFLAGS} \$(SYSFLAGS)" DESTDIR=/usr \
|
||||||
FREETYPEINC=${XBPS_CROSS_BASE}/usr/include/freetype2 \
|
FREETYPEINC=${XBPS_CROSS_BASE}/usr/include/freetype2 \
|
||||||
RXSAMNAME=rsam TERMNAME=/usr/bin/samterm USE64BITS=${USE64BITS}
|
RXSAMNAME=rsam TERMNAME=/usr/bin/samterm USE64BITS=${USE64BITS}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue