wok annotate cmake/receipt @ rev 24237
updated perl-maketext-gettext (1.26 -> 1.32)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:13:31 2022 +0100 (2022-01-02) |
parents | 0f288bee7e75 |
children | 2a0479881723 |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="cmake" |
Hans-G?nter@24156 | 4 VERSION="3.22.0" |
pankso@200 | 5 CATEGORY="development" |
pankso@14 | 6 SHORT_DESC="Cross-platform Make." |
pankso@14 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="BSD" |
Hans-G?nter@22125 | 9 WEB_SITE="https://www.cmake.org/" |
Hans-G?nter@22125 | 10 |
pankso@14 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22125 | 12 WGET_URL="https://www.cmake.org/files/v${VERSION%.*}/$TARBALL" |
pankso@14 | 13 |
Hans-G?nter@22125 | 14 DEPENDS="gcc83-lib-base libidn openssl" |
Hans-G?nter@24156 | 15 BUILD_DEPENDS="gcc83 gcc83-lib-base ncurses-dev openssl-dev" |
pascal@15579 | 16 |
pankso@14 | 17 # Rules to configure and make the package. |
pankso@14 | 18 compile_rules() |
pankso@14 | 19 { |
Hans-G?nter@22125 | 20 export CXX=g++-83 |
Hans-G?nter@22125 | 21 |
Hans-G?nter@22125 | 22 ./bootstrap \ |
Hans-G?nter@22125 | 23 --prefix=/usr \ |
Hans-G?nter@22125 | 24 --docdir=/share/doc/$PACKAGE \ |
slaxemulator@8674 | 25 --mandir=/share/man && |
pascal@1511 | 26 make && |
slaxemulator@8674 | 27 make DESTDIR=$DESTDIR install |
pankso@14 | 28 } |
pankso@14 | 29 |
pankso@14 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 31 genpkg_rules() |
pankso@14 | 32 { |
pascal@15579 | 33 cp -a $install/usr $fs |
pankso@14 | 34 rm -rf $fs/usr/share/man |
pankso@14 | 35 } |