De-lint recipes.

*	pygments
	SUMMARY must start with capital letter
	Re-ordered blocks

*	texlive
	SUMMARY must have at least 3 words
	Re-ordered blocks
	Simplified ARCHITECTURES/SECONDARY_ARCHITECTURES

*	tiff4
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	u_boot_tools
	SUMMARY must start with capital letter
	Re-ordered blocks

*	unifont
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	util_macros
	Improved SUMMARY an DESCRIPTION
	Re-ordered blocks

*	vcdimager
	SUMMARY must start with capital letter
	Re-ordered blocks

*	wings
	SUMMARY must have at least 3 words
	Re-ordered blocks

*	xproto
	SUMMARY must have at least 3 words
	Re-ordered blocks
This commit is contained in:
Humdinger
2015-08-08 14:04:54 +02:00
parent 06e8ae9fb8
commit bdaaf1ad4b
11 changed files with 176 additions and 207 deletions

View File

@@ -1,4 +1,4 @@
SUMMARY="A library to red/write TIFF images"
SUMMARY="A library to read/write TIFF images"
DESCRIPTION="TIFF the Tag Image File Format, is a widely used format for \
storing image data. Included in this software is a library, libtiff, for \
reading and writing TIFF."

View File

@@ -1,16 +1,17 @@
SUMMARY="Tiff library"
DESCRIPTION="
TIFF the Tag Image File Format, is a widely used format for storing image \
data. Included in this software is a library, libtiff, for reading and writing \
TIFF.
"
SUMMARY="A library to read/write TIFF images"
DESCRIPTION="TIFF the Tag Image File Format, is a widely used format for \
storing image data. Included in this software is a library, libtiff, for \
reading and writing TIFF."
HOMEPAGE="http://www.libtiff.org"
SOURCE_URI="ftp://ftp.remotesensing.org/pub/libtiff/tiff-$portVersion.tar.gz"
CHECKSUM_SHA256="ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872"
LICENSE="MIT"
COPYRIGHT="1988-1997 Sam Leffler
1991-1997 Silicon Graphics, Inc."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="ftp://ftp.remotesensing.org/pub/libtiff/tiff-$portVersion.tar.gz"
CHECKSUM_SHA256="ea1aebe282319537fb2d4d7805f478dd4e0e05c33d0928baba76a7c963684872"
SOURCE_DIR="tiff-$portVersion"
PATCHES="tiff-4.0.3.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -25,69 +26,6 @@ REQUIRES="
lib:libjpeg$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libGL$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
PATCHES="
tiff-4.0.3.patch
"
PATCH()
{
if [ $effectiveTargetArchitecture == x86_gcc2 ]; then
sed -i 's/ios::pos_type/streampos/g' libtiff/tif_stream.cxx
sed -i 's/ios::off_type/streamoff/g' libtiff/tif_stream.cxx
fi
}
SOURCE_DIR="tiff-$portVersion"
BUILD()
{
autoreconf -fi
runConfigure ./configure --with-docdir=$documentationDir/$portName
# --enable-shared
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libtiff libtiffxx
fixPkgconfig
# devel package
packageEntries devel \
$developDir
# tools package
if [ -z "$secondaryArchSuffix" ]; then
packageEntries tools \
$binDir \
$documentationDir
fi
# Remove stuff we don't need in the secondary architecture base package.
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir
rm -rf $documentationDir
fi
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
tiff4${secondaryArchSuffix}_devel = $portVersion compat >= 4
@@ -101,8 +39,6 @@ CONFLICTS_devel="
tiff${secondaryArchSuffix}_devel
"
# ----- tools package -------------------------------------------------------
if [ -z "$secondaryArchSuffix" ]; then
SUMMARY_tools="The TIFF tools"
PROVIDES_tools="
@@ -138,3 +74,60 @@ if [ -z "$secondaryArchSuffix" ]; then
lib:libz
"
fi
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
"
PATCH()
{
if [ $effectiveTargetArchitecture == x86_gcc2 ]; then
sed -i 's/ios::pos_type/streampos/g' libtiff/tif_stream.cxx
sed -i 's/ios::off_type/streamoff/g' libtiff/tif_stream.cxx
fi
}
BUILD()
{
autoreconf -fi
runConfigure ./configure --with-docdir=$documentationDir/$portName
# --enable-shared
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libtiff libtiffxx
fixPkgconfig
# devel package
packageEntries devel \
$developDir
# tools package
if [ -z "$secondaryArchSuffix" ]; then
packageEntries tools \
$binDir \
$documentationDir
fi
# Remove stuff we don't need in the secondary architecture base package.
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir
rm -rf $documentationDir
fi
}