mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
sam: add support for ppc64 targets
This commit is contained in:
parent
b1249be7e0
commit
7acc38a98b
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,6 @@ version=20180707
|
||||||
revision=1
|
revision=1
|
||||||
_githash=cd8efea6bc572a31b1a325f4201ac52cf6760d7e
|
_githash=cd8efea6bc572a31b1a325f4201ac52cf6760d7e
|
||||||
wrksrc="${pkgname}-${_githash}"
|
wrksrc="${pkgname}-${_githash}"
|
||||||
disable_parallel_build=yes
|
|
||||||
makedepends="libXft-devel libXi-devel libXt-devel"
|
makedepends="libXft-devel libXi-devel libXt-devel"
|
||||||
short_desc="Screen editor with structural regular expressions"
|
short_desc="Screen editor with structural regular expressions"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
@ -12,6 +11,7 @@ license="MIT-like"
|
||||||
homepage="http://www.deadpixi.com/an-updated-version-of-sam"
|
homepage="http://www.deadpixi.com/an-updated-version-of-sam"
|
||||||
distfiles="https://github.com/deadpixi/${pkgname}/archive/${_githash}.tar.gz"
|
distfiles="https://github.com/deadpixi/${pkgname}/archive/${_githash}.tar.gz"
|
||||||
checksum=45e9ddffea47b4d2cc42fb77255445d2bade71e59370851c455a95ea361a92ba
|
checksum=45e9ddffea47b4d2cc42fb77255445d2bade71e59370851c455a95ea361a92ba
|
||||||
|
disable_parallel_build=yes
|
||||||
CFLAGS="-std=c99"
|
CFLAGS="-std=c99"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
@ -21,7 +21,7 @@ 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*|aarch64*) USE64BITS=1;;
|
x86_64*|aarch64*|ppc64*) USE64BITS=1;;
|
||||||
*) msg_error "Unknown word length for $XBPS_TARGET_MACHINE";;
|
*) msg_error "Unknown word length for $XBPS_TARGET_MACHINE";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue