wok-next annotate libunibreak/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | f2405c282781 |
children | d5aab818505e |
rev | line source |
---|---|
al@20400 | 1 # SliTaz package receipt v2. |
al@20400 | 2 |
al@20400 | 3 PACKAGE="libunibreak" |
al@20400 | 4 VERSION="4.0" |
al@20400 | 5 CATEGORY="libs" |
al@20400 | 6 SHORT_DESC="Implementation of the line breaking algorithm" |
al@20400 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20400 | 8 LICENSE="zlib/libpng" |
al@20400 | 9 WEB_SITE="https://github.com/adah1972/libunibreak/" |
al@20400 | 10 |
al@20400 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20400 | 12 WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL" |
al@20400 | 13 |
al@20400 | 14 SPLIT="libunibreak-dev" |
al@20400 | 15 |
al@20400 | 16 compile_rules() { |
al@20595 | 17 ./configure $CONFIGURE_ARGS && |
al@20595 | 18 fix libtool && |
al@20595 | 19 make && |
al@20595 | 20 make install || return 1 |
al@20400 | 21 |
al@20400 | 22 # fix broken link |
al@20400 | 23 ln -sf libunibreak.a $install/usr/lib/liblinebreak.a |
al@20400 | 24 } |
al@20400 | 25 |
al@20400 | 26 genpkg_rules() { |
al@20400 | 27 case $PACKAGE in |
al@20400 | 28 libunibreak) copy @std;; |
al@20400 | 29 *-dev) copy @dev;; |
al@20400 | 30 esac |
al@20400 | 31 } |