libebook: bump version and add TEST().

This commit is contained in:
Kacper Kasper
2017-01-06 07:24:11 +01:00
parent 45839b7867
commit 418c522094

View File

@@ -4,9 +4,9 @@ converting various reflowable e-book formats."
HOMEPAGE="http://sourceforge.net/projects/libebook/" HOMEPAGE="http://sourceforge.net/projects/libebook/"
COPYRIGHT="David Tardon" COPYRIGHT="David Tardon"
LICENSE="MPL v2.0" LICENSE="MPL v2.0"
REVISION="2" REVISION="1"
SOURCE_URI="http://prdownloads.sourceforge.net/libebook/libe-book-$portVersion.tar.bz2" SOURCE_URI="http://prdownloads.sourceforge.net/libebook/libe-book-$portVersion.tar.bz2"
CHECKSUM_SHA256="90353fc60827a33b391d0b63ecfe5239229d489af99ff6ea014ede3b39fa32b5" CHECKSUM_SHA256="b710a57c633205b933015474d0ac0862253d1c52114d535dd09b20939a0d1850"
SOURCE_DIR="libe-book-$portVersion" SOURCE_DIR="libe-book-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64" ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
@@ -17,14 +17,11 @@ PROVIDES="
cmd:ebook2html$secondaryArchSuffix cmd:ebook2html$secondaryArchSuffix
cmd:ebook2raw$secondaryArchSuffix cmd:ebook2raw$secondaryArchSuffix
cmd:ebook2text$secondaryArchSuffix cmd:ebook2text$secondaryArchSuffix
lib:libe_book_0.1$secondaryArchSuffix = 1.0.1 compat >= 1 lib:libe_book_0.1$secondaryArchSuffix = 1.0.2 compat >= 1
" "
REQUIRES=" REQUIRES="
haiku$secondaryArchSuffix haiku$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libicudata$secondaryArchSuffix
lib:libicui18n$secondaryArchSuffix lib:libicui18n$secondaryArchSuffix
lib:libicuuc$secondaryArchSuffix
lib:librevenge_0.0$secondaryArchSuffix lib:librevenge_0.0$secondaryArchSuffix
lib:librevenge_generators_0.0$secondaryArchSuffix lib:librevenge_generators_0.0$secondaryArchSuffix
lib:librevenge_stream_0.0$secondaryArchSuffix lib:librevenge_stream_0.0$secondaryArchSuffix
@@ -34,18 +31,17 @@ REQUIRES="
PROVIDES_devel=" PROVIDES_devel="
libebook${secondaryArchSuffix}_devel = $portVersion libebook${secondaryArchSuffix}_devel = $portVersion
devel:libe_book_0.1$secondaryArchSuffix = 1.0.1 compat >= 1 devel:libe_book_0.1$secondaryArchSuffix = 1.0.2 compat >= 1
" "
REQUIRES_devel=" REQUIRES_devel="
libebook$secondaryArchSuffix == $portVersion base libebook$secondaryArchSuffix == $portVersion base
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix devel:libboost_system$secondaryArchSuffix
devel:libcppunit$secondaryArchSuffix devel:libcppunit$secondaryArchSuffix
devel:libicudata$secondaryArchSuffix
devel:libicui18n$secondaryArchSuffix devel:libicui18n$secondaryArchSuffix
devel:libicuuc$secondaryArchSuffix
devel:librevenge_0.0$secondaryArchSuffix devel:librevenge_0.0$secondaryArchSuffix
devel:librevenge_generators_0.0$secondaryArchSuffix devel:librevenge_generators_0.0$secondaryArchSuffix
devel:librevenge_stream_0.0$secondaryArchSuffix devel:librevenge_stream_0.0$secondaryArchSuffix
@@ -53,9 +49,8 @@ BUILD_REQUIRES="
devel:libz$secondaryArchSuffix devel:libz$secondaryArchSuffix
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:aclocal cmd:aclocal
cmd:libtoolize cmd:libtoolize$secondaryArchSuffix
cmd:autoheader cmd:autoheader
cmd:autoconf cmd:autoconf
cmd:automake cmd:automake
@@ -63,6 +58,7 @@ BUILD_PREREQUIRES="
cmd:ld$secondaryArchSuffix cmd:ld$secondaryArchSuffix
cmd:make cmd:make
cmd:pkg_config$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix
cmd:icu_config$secondaryArchSuffix
cmd:gperf cmd:gperf
" "
@@ -71,7 +67,7 @@ BUILD()
libtoolize --force --copy --install libtoolize --force --copy --install
aclocal aclocal
autoheader autoheader
automake automake --add-missing
autoconf autoconf
runConfigure ./configure runConfigure ./configure
make $jobArgs make $jobArgs
@@ -86,3 +82,8 @@ INSTALL()
packageEntries devel $developDir packageEntries devel $developDir
} }
TEST()
{
make check
}