milis/talimatname/genel/ebook-tools/talimat

26 lines
580 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: Tools for accessing and converting various ebook file formats
# URL : http://sourceforge.net/projects/ebook-tools/
2016-07-22 21:00:36 +02:00
# Packager: alihan-ozturk28@hotmail.com
2016-02-24 01:27:23 +01:00
# Depends on : cmake libxml2 libzip
name=ebook-tools
version=0.2.2
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
build() {
cd $SRC
mkdir build
cd build
cmake ../$name-$version \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$PKG install
install -Dm644 $SRC/$name-$version/LICENSE \
$PKG/usr/share/licenses/$name/LICENSE
}