mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
ebook_tools: bump version, remove old bep file (#1367)
This commit is contained in:
committed by
Jérôme Duval
parent
98a45b8e0b
commit
5178499277
@@ -1,25 +0,0 @@
|
||||
DESCRIPTION="Tools for accessing and converting various ebook file formats"
|
||||
HOMEPAGE="http://sourceforge.net/projects/ebook-tools/"
|
||||
SOURCE_URI="http://sourceforge.net/projects/ebook-tools/files/ebook-tools/0.2.1/ebook-tools-0.2.1.tar.gz"
|
||||
CHECKSUM_MD5="cabbd2ef9148a61ca5f6e60ca63e6045"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building."
|
||||
DEPEND="libzip >= 0.10"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd ebook-tools-0.2.1
|
||||
sed -i 's/-Wmissing-format-attribute//' CMakeLists.txt
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd ebook-tools-0.2.1
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2008 Ely Levy"
|
||||
66
app-text/ebook_tools/ebook_tools-0.2.2.recipe
Normal file
66
app-text/ebook_tools/ebook_tools-0.2.2.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="Convert ebook file formats"
|
||||
DESCRIPTION="Tools for accessing and converting various ebook file formats"
|
||||
HOMEPAGE="http://sourceforge.net/projects/ebook-tools/"
|
||||
COPYRIGHT="2008 Ely Levy"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://sourceforge.net/projects/ebook-tools/files/ebook-tools/0.2.2/ebook-tools-0.2.2.tar.gz"
|
||||
CHECKSUM_SHA256="cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae"
|
||||
SOURCE_DIR="ebook-tools-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ebook_tools$secondaryArchSuffix = $portVersion
|
||||
cmd:einfo$secondaryArchSuffix
|
||||
cmd:lit2epub$secondaryArchSuffix
|
||||
lib:libepub$secondaryArchSuffix = 0.2.1 compat >= 0.2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libzip$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ebook_tools${secondaryArchSuffix}_devel
|
||||
devel:libepub$secondaryArchSuffix = 0.2.1 compat >= 0.2
|
||||
"
|
||||
REQUIRES_devel="
|
||||
ebook_tools$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libzip$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
sed -i 's/-Wmissing-format-attribute//' CMakeLists.txt
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir $libDir $includeDir
|
||||
|
||||
cp bin/einfo $binDir
|
||||
cp src/tools/lit2epub $binDir
|
||||
cp libs/* $libDir
|
||||
cp src/libepub/*.h $includeDir
|
||||
|
||||
prepareInstalledDevelLib libepub
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user