wok-next view libunibreak/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libunibreak"
4 VERSION="4.0"
5 CATEGORY="libs"
6 SHORT_DESC="Implementation of the line breaking algorithm"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://github.com/adah1972/libunibreak/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL"
14 SPLIT="libunibreak-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS && make && make install || return 1
19 # fix broken link
20 ln -sf libunibreak.a $install/usr/lib/liblinebreak.a
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 libunibreak) copy @std;;
26 *-dev) copy @dev;;
27 esac
28 }