mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
freetype: fixed pkg-config and libtool files.
to use package links as described by Ingo. * added devel packages requirements for libpng, zlib, bzip2
This commit is contained in:
@@ -1,91 +0,0 @@
|
||||
SUMMARY="Free general-purpose data compression software"
|
||||
HOMEPAGE="http://tukaani.org/xz/"
|
||||
SRC_URI="http://tukaani.org/xz/xz-5.0.1.tar.bz2"
|
||||
CHECKSUM_SHA256="9b380f502d37085a60821484a3a13747454638927cc36033be64970512451ed8"
|
||||
LICENSE="
|
||||
GNU LGPL v2.1
|
||||
GNU GPL v2
|
||||
GNU GPL v3
|
||||
"
|
||||
COPYRIGHT="2005-2011 Lasse Collin"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="!x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
xz_utils = $portVersion compat >= 5
|
||||
cmd:lzcat = 5.0.1 compat >= 5
|
||||
cmd:lzcmp = 5.0.1 compat >= 5
|
||||
cmd:lzdiff = 5.0.1 compat >= 5
|
||||
cmd:lzegrep = 5.0.1 compat >= 5
|
||||
cmd:lzfgrep = 5.0.1 compat >= 5
|
||||
cmd:lzgrep = 5.0.1 compat >= 5
|
||||
cmd:lzless = 5.0.1 compat >= 5
|
||||
cmd:lzma = 5.0.1 compat >= 5
|
||||
cmd:lzmadec = 5.0.1 compat >= 5
|
||||
cmd:lzmainfo = 5.0.1 compat >= 5
|
||||
cmd:lzmore = 5.0.1 compat >= 5
|
||||
cmd:unlzma = 5.0.1 compat >= 5
|
||||
cmd:unxz = 5.0.1 compat >= 5
|
||||
cmd:xz = 5.0.1 compat >= 5
|
||||
cmd:xzcat = 5.0.1 compat >= 5
|
||||
cmd:xzcmp = 5.0.1 compat >= 5
|
||||
cmd:xzdec = 5.0.1 compat >= 5
|
||||
cmd:xzdiff = 5.0.1 compat >= 5
|
||||
cmd:xzegrep = 5.0.1 compat >= 5
|
||||
cmd:xzfgrep = 5.0.1 compat >= 5
|
||||
cmd:xzgrep = 5.0.1 compat >= 5
|
||||
cmd:xzless = 5.0.1 compat >= 5
|
||||
cmd:xzmore = 5.0.1 compat >= 5
|
||||
lib:liblzma = 5.0.1 compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="xz-5.0.1"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
touch po/t-cs.gmo
|
||||
libtoolize --force --copy --install
|
||||
./configure $configureDirArgs
|
||||
# --localedir=$dataRootDir/locale
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
expanderRulesDir=$dataDir/expander/rules
|
||||
mkdir -p $expanderRulesDir
|
||||
cp "$portDir/sources/xz_utils-expander-rules" "$expanderRulesDir/xz_utils"
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
DESCRIPTION="XZ Utils is free general-purpose data compression software with high compression ratio. XZ Utils were written for POSIX-like systems, but also work on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.
|
||||
|
||||
The core of the XZ Utils compression code is based on LZMA SDK, but it has been modified quite a lot to be suitable for XZ Utils. The primary compression algorithm is currently LZMA2, which is used inside the .xz container format. With typical files, XZ Utils create 30 % smaller output than gzip and 15 % smaller output than bzip2.
|
||||
|
||||
XZ Utils consist of several components:
|
||||
|
||||
* liblzma is a compression library with API similar to that of zlib.
|
||||
* xz is a command line tool with syntax similar to that of gzip.
|
||||
* xzdec is a decompression-only tool smaller than the full-featured xz tool.
|
||||
* A set of shell scripts (xzgrep, xzdiff, etc.) have been adapted from gzip to ease viewing, grepping, and comparing compressed files.
|
||||
* Emulation of command line tools of LZMA Utils eases transition from LZMA Utils to XZ Utils.
|
||||
|
||||
While liblzma has a zlib-like API, liblzma doesn't include any file I/O functions. A separate I/O library is planned, which would abstract handling of .gz, .bz2, and .xz files with an easy to use API."
|
||||
@@ -1,120 +0,0 @@
|
||||
SUMMARY="Free general-purpose data compression software"
|
||||
HOMEPAGE="http://tukaani.org/xz/"
|
||||
SRC_URI="http://tukaani.org/xz/xz-5.0.4.tar.bz2"
|
||||
CHECKSUM_SHA256="5cd9b060d3a1ad396b3be52c9b9311046a1c369e6062aea752658c435629ce92"
|
||||
LICENSE="
|
||||
GNU LGPL v2.1
|
||||
GNU GPL v2
|
||||
GNU GPL v3
|
||||
"
|
||||
COPYRIGHT="2005-2012 Lasse Collin"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
ADDITIONAL_FILES="xz_utils-expander-rules"
|
||||
|
||||
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
xz_utils$secondaryArchSuffix = $portVersion compat >= 5
|
||||
cmd:lzcat$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzcmp$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzdiff$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzegrep$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzfgrep$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzgrep$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzless$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzma$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzmadec$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzmainfo$commandSuffix = $portVersion compat >= 5
|
||||
cmd:lzmore$commandSuffix = $portVersion compat >= 5
|
||||
cmd:unlzma$commandSuffix = $portVersion compat >= 5
|
||||
cmd:unxz$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xz$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzcat$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzcmp$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzdec$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzdiff$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzegrep$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzfgrep$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzgrep$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzless$commandSuffix = $portVersion compat >= 5
|
||||
cmd:xzmore$commandSuffix = $portVersion compat >= 5
|
||||
lib:liblzma$secondaryArchSuffix = $portVersion compat >= 5
|
||||
devel:liblzma$secondaryArchSuffix = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
SOURCE_DIR="xz-$portVersion"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
touch po/t-cs.gmo
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
expanderRulesDir=$dataDir/expander/rules
|
||||
mkdir -p $expanderRulesDir
|
||||
cp "$portDir/additional-files/xz_utils-expander-rules" \
|
||||
"$expanderRulesDir/xz_utils"
|
||||
|
||||
fixPkgconfig
|
||||
prepareInstalledDevelLibs liblzma
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
|
||||
DESCRIPTION="
|
||||
XZ Utils is free general-purpose data compression software with high \
|
||||
compression ratio. XZ Utils were written for POSIX-like systems, but also work \
|
||||
on some not-so-POSIX systems. XZ Utils are the successor to LZMA Utils.
|
||||
The core of the XZ Utils compression code is based on LZMA SDK, but it has \
|
||||
been modified quite a lot to be suitable for XZ Utils. The primary compression \
|
||||
algorithm is currently LZMA2, which is used inside the .xz container format. \
|
||||
With typical files, XZ Utils create 30 % smaller output than gzip and 15 % \
|
||||
smaller output than bzip2.
|
||||
XZ Utils consist of several components:
|
||||
* liblzma is a compression library with API similar to that of zlib.
|
||||
* xz is a command line tool with syntax similar to that of gzip.
|
||||
* xzdec is a decompression-only tool smaller than the full-featured xz tool.
|
||||
* A set of shell scripts (xzgrep, xzdiff, etc.) have been adapted from gzip to \
|
||||
ease viewing, grepping, and comparing compressed files.
|
||||
* Emulation of command line tools of LZMA Utils eases transition from LZMA \
|
||||
Utils to XZ Utils.
|
||||
While liblzma has a zlib-like API, liblzma doesn't include any file I/O \
|
||||
functions. A separate I/O library is planned, which would abstract handling of \
|
||||
.gz, .bz2, and .xz files with an easy to use API.
|
||||
"
|
||||
Reference in New Issue
Block a user