wok-next annotate lite/receipt @ rev 21105
Small updates... "bzip2" and "cairo": follow "libpkg - pkg - pkg-dev" rule
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 17:29:48 2019 +0200 (2019-01-04) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
pankso@15998 | 2 |
pankso@15998 | 3 PACKAGE="lite" |
pankso@15998 | 4 VERSION="0.8.10" |
pankso@15998 | 5 CATEGORY="graphics" |
al@21020 | 6 SHORT_DESC="Toolkit Engine using DirectFB" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pankso@15998 | 8 LICENSE="GPL2" |
al@21041 | 9 WEB_SITE="https://web.archive.org/web/20170603093935/http://directfb.net/" |
al@20459 | 10 |
al@20459 | 11 TARBALL="LiTE-$VERSION.tar.gz" |
al@21041 | 12 WGET_URL="http://www.directfb.org/downloads/Libs/$TARBALL" # FIXME |
pankso@15998 | 13 |
pankso@15998 | 14 BUILD_DEPENDS="directfb-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pankso@15998 | 16 |
al@20459 | 17 compile_rules() { |
al@20557 | 18 ./configure $CONFIGURE_ARGS && |
al@20595 | 19 fix libtool && |
al@20557 | 20 make && |
al@20557 | 21 make install |
pankso@15998 | 22 } |
pankso@15998 | 23 |
al@20459 | 24 genpkg_rules() { |
al@20459 | 25 case $PACKAGE in |
al@20459 | 26 lite) |
al@20557 | 27 copy @std |
al@20459 | 28 DEPENDS="directfb" |
al@20459 | 29 ;; |
al@20459 | 30 *-dev) |
al@20557 | 31 copy @dev |
al@20459 | 32 ;; |
al@20459 | 33 esac |
pankso@15998 | 34 } |