wok-next annotate liblouis/receipt @ rev 20464

Combine receipts (final)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 07 19:43:44 2018 +0200 (2018-03-07)
parents f5cac0fe4041
children 25deb7c6df08
rev   line source
al@20464 1 # SliTaz package receipt v2.
yuripourre@16967 2
yuripourre@16967 3 PACKAGE="liblouis"
yuripourre@16967 4 VERSION="2.5.2-3"
yuripourre@16967 5 CATEGORY="utilities"
yuripourre@16967 6 LICENSE="GPL3"
al@20464 7 SHORT_DESC="Open-source braille translator and back-translator"
yuripourre@16967 8 MAINTAINER="yuripourre@gmail.com"
al@20464 9 WEB_SITE="https://code.google.com/p/liblouis/"
al@20464 10
yuripourre@16967 11 TARBALL="$PACKAGE-${VERSION:0:5}.tar.gz"
yuripourre@16967 12 WGET_URL="http://liblouis.googlecode.com/files/$TARBALL"
yuripourre@16967 13
yuripourre@16967 14 BUILD_DEPENDS="python-dev"
al@20464 15 SPLIT="liblouis-dev"
yuripourre@16967 16
al@20464 17 compile_rules() {
al@20464 18 ./configure \
al@20464 19 --prefix=/usr \
al@20464 20 --disable-static \
yuripourre@16967 21 $CONFIGURE_ARGS &&
yuripourre@16967 22 make &&
yuripourre@16967 23 make DESTDIR=$DESTDIR install
yuripourre@16967 24 }
yuripourre@16967 25
al@20464 26 genpkg_rules() {
al@20464 27 case $PACKAGE in
al@20464 28 liblouis)
al@20464 29 copy @std
al@20464 30 DEPENDS="glibc"
al@20464 31 SUGGESTED="help2man"
al@20464 32 ;;
al@20464 33 *-dev)
al@20464 34 copy @dev
al@20464 35 ;;
al@20464 36 esac
yuripourre@16967 37 }