mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
libpagemaker: move to media-libs.
This commit is contained in:
83
media-libs/libpagemaker/libpagemaker-0.0.3.recipe
Normal file
83
media-libs/libpagemaker/libpagemaker-0.0.3.recipe
Normal file
@@ -0,0 +1,83 @@
|
||||
SUMMARY="Library to read Adobe PageMaker files"
|
||||
DESCRIPTION="Libpagemaker is a library that parses the file format of \
|
||||
Aldus/Adobe PageMaker documents. Currently it only understands documents \
|
||||
created by PageMaker version 6.x and 7."
|
||||
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
|
||||
COPYRIGHT="2013-2014 Fridrich Štrba
|
||||
2014 Anurag Kanungo
|
||||
2014 Brennan Vincent
|
||||
2014 David Tardon"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://dev-www.libreoffice.org/src/libpagemaker/libpagemaker-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="d896dc55dafd84ee3441e0ca497b810809f9eea44805a495c3843412309036d6"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libpagemaker$secondaryArchSuffix = $portVersion compat >= 0
|
||||
cmd:pmd2raw$secondaryArchSuffix = $portVersion compat >= 0
|
||||
cmd:pmd2svg$secondaryArchSuffix = $portVersion compat >= 0
|
||||
lib:libpagemaker_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libboost_system$secondaryArchSuffix
|
||||
lib:librevenge_0.0$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libpagemaker${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libpagemaker_0.0$secondaryArchSuffix = $portVersion compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libpagemaker${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:librevenge_0.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:aclocal
|
||||
cmd:autoheader
|
||||
cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:awk
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy
|
||||
aclocal -I m4
|
||||
autoheader
|
||||
automake -a -c --foreign
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libpagemaker*.la
|
||||
|
||||
# set up the develop directory correctly
|
||||
prepareInstalledDevelLibs \
|
||||
libpagemaker-0.0
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user