mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Updated recipe for libpaper-1.1.24 so that it builds now.
This commit is contained in:
@@ -1,34 +1,73 @@
|
||||
DESCRIPTION="Library for handling paper characteristics"
|
||||
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"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1996 Yves Arrouye
|
||||
2000 Adrian Bunk"
|
||||
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
CHECKSUM_MD5="5bc87d494ba470aba54f6d2d51471834"
|
||||
|
||||
REQUIRES="
|
||||
lib:libroot >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES=""
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
cmd:paperconf
|
||||
cmd:paperconfig
|
||||
lib:libpaper$secondaryArchSuffix = 1.1.24 compat >= 1
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd libpaper-1.1.24
|
||||
mkdir -p `finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
echo 'AC_CONFIG_MACRO_DIR([m4])' >> configure.ac
|
||||
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
|
||||
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
|
||||
COMMON_BIN=`finddir B_COMMON_BIN_DIRECTORY`
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$COMMON_DOCS/man \
|
||||
--sbindir=$COMMON_BIN
|
||||
make
|
||||
touch NEWS
|
||||
touch AUTHORS
|
||||
automake --add-missing
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd libpaper-1.1.24
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libpaper
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1996 Yves Arrouye
|
||||
2000 Adrian Bunk"
|
||||
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:libpaper$secondaryArchSuffix = 1.1.24 compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libpaper$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user