mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
74 lines
1.6 KiB
Bash
74 lines
1.6 KiB
Bash
SUMMARY="X font encoding library"
|
|
DESCRIPTION="libfontenc is a library which helps font libraries \
|
|
portably determine and deal with different encodings of fonts."
|
|
HOMEPAGE="https://www.x.org/"
|
|
COPYRIGHT="1998-2001 Juliusz Chroboczek"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.x.org/archive/individual/lib/libfontenc-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="2cfcce810ddd48f2e5dc658d28c1808e86dcf303eaff16728b9aa3dbc0092079"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="1.0.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libfontenc$secondaryArchSuffix = $portVersion
|
|
lib:libfontenc$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libfontenc${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfontenc$secondaryArchSuffix = $libVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libfontenc$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
fontutil$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:util_macros
|
|
devel:xproto
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage libfontenc$secondaryArchSuffix \
|
|
$libDir/libfontenc.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libfontenc
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|