wok-6.x annotate sysstat/receipt @ rev 25032
giblib: modified configure parameter
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 20 10:31:08 2022 +0100 (2022-05-20) |
parents | 3d97a4760b5e |
children | 2b9ff117a412 |
rev | line source |
---|---|
pascal@6027 | 1 # SliTaz package receipt. |
pascal@6027 | 2 |
pascal@6027 | 3 PACKAGE="sysstat" |
Hans-G?nter@23689 | 4 VERSION="12.3.2" |
pascal@6027 | 5 CATEGORY="system-tools" |
pascal@6027 | 6 SHORT_DESC="Performance monitoring tools." |
pascal@6027 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
Hans-G?nter@21999 | 9 WEB_SITE="http://sebastien.godard.pagesperso-orange.fr/" |
Hans-G?nter@21999 | 10 |
pascal@6027 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@6027 | 12 WGET_URL="http://pagesperso-orange.fr/sebastien.godard/$TARBALL" |
pascal@6027 | 13 |
pascal@22396 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@23689 | 15 BUILD_DEPENDS="bzip2 gcc83 gettext" |
pascal@15001 | 16 |
pascal@24462 | 17 # What is the latest version available today? |
pascal@24462 | 18 current_version() |
pascal@24462 | 19 { |
pascal@24462 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24462 | 21 sed '/released/!d;/devel/d;s|.*stat ||;s| .*||;q' |
pascal@24462 | 22 } |
pascal@24462 | 23 |
pascal@6027 | 24 # Rules to configure and make the package. |
pascal@6027 | 25 compile_rules() |
pascal@6027 | 26 { |
pascal@20606 | 27 sed -i 's|(uname -m)|(echo i686)|' configure |
pascal@22396 | 28 export CC=gcc-83 CXX=g++-83 |
Hans-G?nter@21999 | 29 |
erjo@13473 | 30 ./configure $CONFIGURE_ARGS && |
pascal@6027 | 31 make && |
erjo@13473 | 32 make install |
pascal@6027 | 33 } |
pascal@6027 | 34 |
pascal@6027 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6027 | 36 genpkg_rules() |
pascal@6027 | 37 { |
pascal@6027 | 38 mkdir -p $fs/usr |
Hans-G?nter@21999 | 39 |
Hans-G?nter@21999 | 40 cp -a $install/etc $fs |
Hans-G?nter@21999 | 41 cp -a $install/var $fs |
Hans-G?nter@21999 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21999 | 43 cp -a $install/usr/lib $fs/usr |
pascal@6027 | 44 } |