mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
79 lines
1.8 KiB
Plaintext
79 lines
1.8 KiB
Plaintext
SUMMARY="Library for handling paper characteristics"
|
|
DESCRIPTION="The libpaper paper-handling library automates recognition of many different paper types and sizes for programs that need to deal with printed output."
|
|
HOMEPAGE="http://packages.debian.org/unstable/source/libpaper"
|
|
SRC_URI="http://ftp.de.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24.tar.gz"
|
|
CHECKSUM_MD5="5bc87d494ba470aba54f6d2d51471834"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1996 Yves Arrouye
|
|
2000 Adrian Bunk"
|
|
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libpaper$secondaryArchSuffix = $portVersion
|
|
lib:libpaper$secondaryArchSuffix = 1.1.24 compat >= 1
|
|
cmd:paper_config$secondaryArchSuffix
|
|
cmd:paperconf$secondaryArchSuffix
|
|
cmd:paperconfig$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
|
|
echo "AM_PROG_CC_C_O" >> configure.ac
|
|
libtoolize --force --copy --install
|
|
aclocal --install -I m4
|
|
autoconf
|
|
touch NEWS
|
|
touch AUTHORS
|
|
automake --add-missing
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs \
|
|
libpaper
|
|
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libpaper${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libpaper$secondaryArchSuffix = 1.1.24 compat >= 1
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
# haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
libpaper$secondaryArchSuffix == $portVersion base
|
|
"
|