wok-next annotate ntk/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 4396aed7eb01 |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pankso@16378 | 2 |
pankso@16378 | 3 PACKAGE="ntk" |
pascal@16389 | 4 GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc" |
pascal@16389 | 5 VERSION="${GITHASH:0:7}" |
pankso@16378 | 6 CATEGORY="x-window" |
al@20464 | 7 SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pankso@16378 | 9 LICENSE="LGPL" |
al@20464 | 10 WEB_SITE="http://non.tuxfamily.org/" |
al@20464 | 11 |
pascal@16389 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16389 | 13 WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz" |
pankso@16378 | 14 |
al@20464 | 15 BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev git python" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pankso@16378 | 17 |
al@20464 | 18 compile_rules() { |
pankso@16378 | 19 ./waf configure --prefix=/usr && |
al@20464 | 20 ./waf build && |
al@21020 | 21 ./waf install --destdir=$install |
pankso@16378 | 22 } |
pankso@16378 | 23 |
al@20464 | 24 genpkg_rules() { |
al@20464 | 25 case $PACKAGE in |
al@20464 | 26 ntk) |
al@20464 | 27 copy @std |
al@20464 | 28 DEPENDS="xorg-libXft cairo jpeg" |
al@20464 | 29 ;; |
al@20464 | 30 *-dev) |
al@20464 | 31 copy @dev |
al@20464 | 32 DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev" |
al@20464 | 33 ;; |
al@20464 | 34 esac |
pankso@16378 | 35 } |