wok annotate tidy-html5/receipt @ rev 19683
Add: mate (a package to install all MATE desktop at once)
| author | Christophe Lincoln <pankso@slitaz.org> |
|---|---|
| date | Sun Feb 12 00:43:16 2017 +0100 (2017-02-12) |
| parents | |
| children | f6746abf95cc |
| rev | line source |
|---|---|
| al@18686 | 1 # SliTaz package receipt. |
| al@18686 | 2 |
| al@18686 | 3 PACKAGE="tidy-html5" |
| al@18686 | 4 VERSION="5.1.25" |
| al@18686 | 5 CATEGORY="development" |
| al@18686 | 6 SHORT_DESC="The granddaddy of HTML tools, with support for modern standards" |
| al@18686 | 7 MAINTAINER="al.bobylev@gmail.com" |
| al@18686 | 8 LICENSE="MIT" |
| al@18686 | 9 WEB_SITE="http://www.htacg.org/tidy-html5/" |
| al@18686 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
| al@18686 | 11 WGET_URL="https://github.com/htacg/tidy-html5/archive/$VERSION.tar.gz" |
| al@18686 | 12 |
| al@18686 | 13 DEPENDS="" |
| al@18686 | 14 BUILD_DEPENDS="cmake libxslt" |
| al@18686 | 15 |
| al@18686 | 16 # Rules to configure and make the package. |
| al@18686 | 17 compile_rules() |
| al@18686 | 18 { |
| al@18686 | 19 cd build/cmake |
| al@18686 | 20 cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && |
| al@18686 | 21 make && make install |
| al@18686 | 22 } |
| al@18686 | 23 |
| al@18686 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
| al@18686 | 25 genpkg_rules() |
| al@18686 | 26 { |
| al@18686 | 27 mkdir -p $fs/usr |
| al@18686 | 28 cp -a $install/usr/bin $fs/usr |
| al@18686 | 29 } |