mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
libtranscript: fix cross-build
This commit is contained in:
parent
4237e73dca
commit
b3d8c7c813
1 changed files with 17 additions and 3 deletions
|
@ -3,7 +3,7 @@ pkgname=libtranscript
|
||||||
version=0.3.4
|
version=0.3.4
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr"
|
configure_args="--prefix=/usr LIBTOOL=./libtool"
|
||||||
hostmakedepends="pkg-config gettext"
|
hostmakedepends="pkg-config gettext"
|
||||||
makedepends="libtool gettext-devel"
|
makedepends="libtool gettext-devel"
|
||||||
short_desc="Character-set conversion library"
|
short_desc="Character-set conversion library"
|
||||||
|
@ -12,9 +12,23 @@ license="GPL-3.0-or-later"
|
||||||
homepage="https://os.ghalkes.nl/libtranscript.html"
|
homepage="https://os.ghalkes.nl/libtranscript.html"
|
||||||
distfiles="https://os.ghalkes.nl/dist/libtranscript-${version}.tar.bz2"
|
distfiles="https://os.ghalkes.nl/dist/libtranscript-${version}.tar.bz2"
|
||||||
checksum=daaa09038f6f3b785b86d152014b3893910f9b9e4e430c015e41b05b34c37ea7
|
checksum=daaa09038f6f3b785b86d152014b3893910f9b9e4e430c015e41b05b34c37ea7
|
||||||
nocross="non-standard configure script"
|
|
||||||
|
|
||||||
export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool
|
pre_configure() {
|
||||||
|
cp ${XBPS_CROSS_BASE}/usr/bin/libtool .
|
||||||
|
sed -i "
|
||||||
|
/^OBJDUMP=/s|=.*|=$OBJDUMP|
|
||||||
|
/^NM=/s|=.*|=$NM|
|
||||||
|
/^AR=/s|=.*|=$AR|
|
||||||
|
/^LTCC=/s|=.*|=$CC|
|
||||||
|
/^CC=/s|=.*|=$CC|
|
||||||
|
/^RANLIB=/s|=.*|=$RANLIB|
|
||||||
|
/^LD=/s|=.*|=$LD|
|
||||||
|
/^STRIP=/s|=.*|=true|
|
||||||
|
/^host_alias=/s|=.*|=$XBPS_TRIPLET|
|
||||||
|
/^host=/s|=.*|=$XBPS_TRIPLET|
|
||||||
|
" libtool
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
libtranscript-devel_package() {
|
libtranscript-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Reference in a new issue