12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- # Recipe file for leptonica.
- #
- # Maintainers: (C) 2016 Mateus P. Rodrigues, mprodrigues@dragora.org.
- #
- # Under the terms of the GNU General Public License.
- program=leptonica
- version=1.73
- release=1
- description="
- Image processing library
- "
- homepage=http://www.leptonica.org/
- license=custom
- tarname=${program}-${version}.tar.gz
- # Remote source(s)
- fetch=http://www.leptonica.org/source/$tarname
- # Parallel jobs for the compiler
- jobs=1
- # Source documentation
- docs="README* leptonica-license.txt"
- docsdir="${docdir}/${program}-${version}"
- build() {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
- ./configure CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS"
- make -j${jobs}
- make -j${jobs} install DESTDIR="$destdir"
- # Copy documentation
- mkdir -p "${destdir}${docsdir}"
- for file in $docs ; do
- cp -p $file "${destdir}${docsdir}"
- done
- }
|