factor: update to 0.98.

This commit is contained in:
xelxebar 2018-10-06 18:16:31 +09:00 committed by cr6git
parent 7ecad247f6
commit bac7708c7b

View file

@ -1,34 +1,34 @@
# Template file for 'factor' # Template file for 'factor'
pkgname=factor pkgname=factor
version=0.97 version=0.98
revision=1 revision=1
only_for_archs="i686 x86_64 x86_64-musl" only_for_archs="i686 x86_64"
build_style=gnu-makefile build_style=gnu-makefile
hostmakedepends="unzip pkg-config" hostmakedepends="unzip pkg-config"
makedepends="gtkglext-devel" makedepends="gtk+-devel gtkglext-devel"
depends="gtk+-devel gtkglext-devel"
wrksrc="factor"
nostrip_files="a.elf" nostrip_files="a.elf"
short_desc="Concatenative programming language, similar to Forth" short_desc="Concatenative programming language, similar to Forth"
maintainer="B. Wilson <x@wilsonb.com>" maintainer="B. Wilson <x@wilsonb.com>"
license="BSD-2-Clause" license="BSD-2-Clause"
homepage="http://factorcode.org/" homepage="http://factorcode.org/"
distfiles="http://downloads.factorcode.org/releases/${version}/factor-src-${version}.zip" distfiles="http://downloads.factorcode.org/releases/${version}/factor-src-${version}.zip"
checksum=fd75e765590691c89b866e5265ae16bfb36d0e28eed095702ae1e206114663b8 checksum=318fb8cdf84528fce17a83f7e9d76e55292ccc779c71d180d99a6465574d3706
post_extract() {
mv "${XBPS_BUILDDIR}/factor" "${wrksrc}"
}
post_build() { post_build() {
image='' image=''
case "${XBPS_TARGET_MACHINE}" in case "${XBPS_TARGET_MACHINE}" in
i686*) image='boot.unix-x86.32.image';; i686*) image='boot.unix-x86.32.image'
x86_64*) image='boot.unix-x86.64.image';; sse_version=0;;
x86_64*) image='boot.unix-x86.64.image'
sse_version=20;;
*) return 1;; *) return 1;;
esac esac
touch /etc/ld.so.cache touch /etc/ld.so.cache
./factor -i="${image}" ./factor -i="${image}" -sse-version="${sse_version}"
} }
do_install() { do_install() {
@ -45,5 +45,5 @@ do_install() {
ln -sr "${DESTDIR}/usr/lib/${pkgname}/factor" \ ln -sr "${DESTDIR}/usr/lib/${pkgname}/factor" \
"${DESTDIR}/usr/bin/factor-vm" "${DESTDIR}/usr/bin/factor-vm"
vlicense license.txt vlicense LICENSE.txt
} }