libucontext: update to 0.9.0.
This commit is contained in:
parent
fe615e52ac
commit
90aa3aa146
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'libucontext'
|
# Template file for 'libucontext'
|
||||||
pkgname=libucontext
|
pkgname=libucontext
|
||||||
version=0.1.3
|
version=0.9.0
|
||||||
revision=1
|
revision=1
|
||||||
archs="*-musl"
|
archs="*-musl"
|
||||||
short_desc="Compatibility layer providing ucontext functions"
|
short_desc="Compatibility layer providing ucontext functions"
|
||||||
maintainer="Peter Bui <pbui@github.bx612.space>"
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://github.com/kaniini/libucontext"
|
homepage="https://code.foxkit.us/adelie/libucontext"
|
||||||
distfiles="https://distfiles.dereferenced.org/${pkgname}/${pkgname}-${version}.tar.xz"
|
distfiles="https://distfiles.adelielinux.org/source/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=da530b2f4469f9adcef678b9c1bf07f2a66ea922251d9bcf13b691f09a08883e
|
checksum=0d53a415a307ef175153bbe60a572c940a922cb736ce13530b666e7ec2795d68
|
||||||
|
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
arm*) export LIBUCONTEXT_ARCH="arm";;
|
arm*) export LIBUCONTEXT_ARCH="arm";;
|
||||||
|
@ -19,7 +19,7 @@ esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "${XBPS_TARGET_MACHINE}" in
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
i686*) sed -i arch/x86/startcontext.S -e "s;__i686.get_pc_thunk.bx;i686_get_pc_thunk_bx;g" ;;
|
i686*) vsed -i arch/x86/startcontext.S -e "s;__i686.get_pc_thunk.bx;i686_get_pc_thunk_bx;g" ;;
|
||||||
esac
|
esac
|
||||||
make ARCH="${LIBUCONTEXT_ARCH}"
|
make ARCH="${LIBUCONTEXT_ARCH}"
|
||||||
}
|
}
|
||||||
|
@ -41,5 +41,6 @@ libucontext-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue