wok-6.x annotate tidy/receipt @ rev 24071
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 10:35:01 2021 +0000 (2021-07-07) |
parents | d805d3de4546 |
children | 922f061231c2 |
rev | line source |
---|---|
al@14468 | 1 # SliTaz package receipt. |
al@14468 | 2 |
al@14468 | 3 PACKAGE="tidy" |
al@14468 | 4 VERSION="cvs_20101110" |
al@14468 | 5 CATEGORY="development" |
al@14468 | 6 SHORT_DESC="HTML Tidy" |
al@14468 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14468 | 8 LICENSE="MIT" |
al@14468 | 9 WEB_SITE="http://tidy.sourceforge.net/" |
al@14468 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14468 | 11 WGET_URL="http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/$TARBALL" |
al@14468 | 12 |
al@14468 | 13 DEPENDS="glibc-base" |
pascal@20562 | 14 BUILD_DEPENDS="file" |
al@14468 | 15 |
al@14468 | 16 # Rules to configure and make the package. |
al@14468 | 17 compile_rules() |
al@14468 | 18 { |
al@14468 | 19 ./configure \ |
al@14468 | 20 --disable-debug \ |
al@14468 | 21 --disable-static \ |
al@14468 | 22 --enable-access \ |
al@14468 | 23 --enable-utf16 \ |
al@14468 | 24 --enable-asian && |
al@14468 | 25 make && |
al@14468 | 26 make install |
al@14468 | 27 } |
al@14468 | 28 |
al@14468 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14468 | 30 genpkg_rules() |
al@14468 | 31 { |
al@14468 | 32 mkdir -p $fs/usr/lib |
al@14468 | 33 cp -a $install/usr/bin $fs/usr |
al@14468 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14468 | 35 } |