mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
upmendex: bump version, cleanup
It can now be built standalone properly.
This commit is contained in:
@@ -13,11 +13,11 @@ scripts (Hanzi ideographs).
|
||||
HOMEPAGE="https://github.com/t-tk/upmendex-package"
|
||||
COPYRIGHT="1995 ASCII Corporation
|
||||
2009 ASCII MEDIA WORKS
|
||||
2015-2023 TANAKA Takuji"
|
||||
2015-2024 TANAKA Takuji"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/t-tk/upmendex-package/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a61dcff2311209600dd756de5117967faa8b7781bfa7b176aa6066de75d7c57f"
|
||||
CHECKSUM_SHA256="d1337e1e40a650e6b7d8e0abe4a2d398fde42d5d70a5b4a02b9a69957c56a0ad"
|
||||
SOURCE_DIR="upmendex-package-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -45,30 +45,22 @@ BUILD_REQUIRES="
|
||||
devel:libkpathsea$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
# package requirements instead of commands because only data files are needed
|
||||
autoconf
|
||||
automake
|
||||
libtool$secondaryArchSuffix == 2.4.7 # ltmain.sh is picky about its version
|
||||
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:diff
|
||||
"
|
||||
|
||||
defineDebugInfoPackage upmendex$secondaryArchSuffix \
|
||||
$prefix/bin/upmendex
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# copy missing build-aux files from autotools
|
||||
# we can't use autoreconf here because the m4 macros from texlive are also missing
|
||||
mkdir -p ../build-aux
|
||||
cp $(finddir B_SYSTEM_DATA_DIRECTORY)/autoconf/build-aux/{config.guess,config.sub,install-sh} \
|
||||
../build-aux
|
||||
cp $(finddir B_SYSTEM_DATA_DIRECTORY)/automake-*/{ar-lib,compile,depcomp,missing} ../build-aux
|
||||
cp $(finddir B_SYSTEM_DATA_DIRECTORY)/libtool/build-aux/ltmain.sh ../build-aux
|
||||
|
||||
cd source
|
||||
cd source/texk/upmendex
|
||||
runConfigure --omit-dirs "binDir" ./configure \
|
||||
--bindir=$prefix/bin \
|
||||
--with-system-kpathsea \
|
||||
@@ -78,14 +70,12 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd source
|
||||
cd source/texk/upmendex
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cp $(finddir B_SYSTEM_DATA_DIRECTORY)/automake-*/test-driver ../build-aux
|
||||
|
||||
cd source
|
||||
cd source/texk/upmendex
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user