diff --git a/app-text/libwpg/libwpg-0.2.1.recipe b/app-text/libwpg/libwpg-0.2.1.recipe deleted file mode 100644 index 372c8b985..000000000 --- a/app-text/libwpg/libwpg-0.2.1.recipe +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION=" -Libwpg project is a collection of library and tools to work with graphics in \ -WPG (WordPerfect Graphics) format. -" -HOMEPAGE="libwpg.sourceforge.net" -SRC_URI="http://sourceforge.net/projects/libwpg/files/libwpg/libwpg-0.2.1/libwpg-0.2.1.tar.gz/download" -MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." -CHECKSUM_MD5="7f292980b5c458a58bf89ebba1ed07b6" -REVISION="1" -DEPEND="pkg-config >= 0.2 - libwpd >= 0.8" -BUILD() -{ - cd libwpg-0.2.1 - libtoolize --force --copy --install - aclocal - autoconf - automake - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make -} -INSTALL() -{ - cd libwpg-0.2.1 - make install -} -LICENSE="GNU GPL v2" -COPYRIGHT="2007 Ariya Hidayat" diff --git a/app-text/libwpg/libwpg-0.2.2.recipe b/app-text/libwpg/libwpg-0.2.2.recipe new file mode 100644 index 000000000..e64d30b73 --- /dev/null +++ b/app-text/libwpg/libwpg-0.2.2.recipe @@ -0,0 +1,81 @@ +SUMMARY="The free WPG library, converter and viewer" +DESCRIPTION=" + libwpg project is a collection of library and tools to work with graphics \ + in WPG (WordPerfect Graphics) format. + " +HOMEPAGE="http://libwpg.sourceforge.net" +SRC_URI="http://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-0.2.2/libwpg-0.2.2.tar.gz" +LICENSE=" + MPL v2.0 + GNU LGPL v2.1 + " +COPYRIGHT=" + Marc Oude Kotte + Marc Maurer + Ariya Hidayat + Fridrich Strba + " +REVISION="1" +CHECKSUM_SIZE="469830" +CHECKSUM_MD5="289fdfb5116761486c4b6d75704bbe2f" +CHECKSUM_RMD160="927e9f8e9f4dbccc1c3755503a6678996388e09b" +CHECKSUM_SHA512="1c6311593ffd93a4c64c6723bc4d8f806dca9975c7da1ae5cd0df6a4a756cd930291ef3f181f0875ae911a41468986af60f6727c3c46d2d56e42e3b69d5613f8" + +ARCHITECTURES="x86 !x86_gcc2 ?x86_64" +SECONDARY_ARCHITECTURES="!x86 !x86_gcc2" + +PROVIDES=" + $portName$secondaryArchSuffix = $portVersion + cmd:wpg2raw$secondaryArchSuffix + cmd:wpg2svg$secondaryArchSuffix + cmd:wpg2svgbatch.pl$secondaryArchSuffix + lib:libwpg_0.2$secondaryArchSuffix = 2.0.2 compat >= 2 + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libwpd_0.9$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " +BUILD_REQUIRES=" + devel:libwpd_0.9$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + pkgconfig >= 0.27 + cmd:aclocal + cmd:libtoolize + cmd:autoconf + cmd:automake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + libtoolize --force --copy --install + aclocal + autoconf + automake + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + prepareInstalledDevelLibs libwpg-0.2 + fixPkgconfig + + packageEntries devel $developDir +} + +PROVIDES_devel=" + libwpg${secondaryArchSuffix}_devel = $portVersion + devel:libwpg_0.2$secondaryArchSuffix = 2.0.2 compat >= 2 + " +REQUIRES_devel=" + $portName$secondaryArchSuffix == $portVersion base + "