mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libfontenc: new recipe (#1188)
* libfontenc: new recipe * Whitespace cleanup
This commit is contained in:
63
x11-libs/libfontenc/libfontenc-1.1.3.recipe
Normal file
63
x11-libs/libfontenc/libfontenc-1.1.3.recipe
Normal file
@@ -0,0 +1,63 @@
|
||||
SUMMARY="X font encoding library"
|
||||
DESCRIPTION="libfontenc is a library which helps font libraries \
|
||||
portably determine and deal with different encodings of fonts."
|
||||
HOMEPAGE="http://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.gz"
|
||||
CHECKSUM_SHA256="6fba26760ca8d5045f2b52ddf641c12cedc19ee30939c6478162b7db8b6220fb"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libfontenc$secondaryArchSuffix = $portVersion
|
||||
lib:libfontenc$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libfontenc${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfontenc$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libfontenc$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:xproto$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
devel:util_macros$secondaryArchSuffix
|
||||
cmd:bdftruncate #fontutil
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -rf $libDir/libfontenc.la
|
||||
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLib libfontenc
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user