wok annotate pyorbit/receipt @ rev 24639
updated hdparm (9.58 -> 9.63)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 15:36:39 2022 +0100 (2022-03-09) |
parents | 86790a278e70 |
children |
rev | line source |
---|---|
slaxemulator@7729 | 1 # SliTaz package receipt. |
slaxemulator@7729 | 2 |
slaxemulator@7729 | 3 PACKAGE="pyorbit" |
slaxemulator@7729 | 4 VERSION="2.24.0" |
slaxemulator@7729 | 5 CATEGORY="system-tools" |
slaxemulator@7729 | 6 SHORT_DESC="Python binding to GNOME ORBit." |
slaxemulator@7729 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15376 | 8 LICENSE="LGPL2.1" |
slaxemulator@7729 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://www.gnome.org/" |
slaxemulator@7729 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@7729 | 12 |
pascal@15376 | 13 DEPENDS="python ORBit2" |
pascal@15376 | 14 BUILD_DEPENDS="python-dev ORBit2-dev pkg-config" |
pascal@15376 | 15 |
pascal@24111 | 16 current_version() |
pascal@24111 | 17 { |
pascal@24111 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 20 } |
pascal@24111 | 21 |
slaxemulator@7729 | 22 # Rules to configure and make the package. |
slaxemulator@7729 | 23 compile_rules() |
slaxemulator@7729 | 24 { |
slaxemulator@7729 | 25 ./configure \ |
slaxemulator@7729 | 26 --prefix=/usr \ |
slaxemulator@7729 | 27 $CONFIGURE_ARGS && |
slaxemulator@7729 | 28 make && |
pascal@15376 | 29 make DESTDIR=$DESTDIR install |
slaxemulator@7729 | 30 } |
slaxemulator@7729 | 31 |
slaxemulator@7729 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7729 | 33 genpkg_rules() |
slaxemulator@7729 | 34 { |
pascal@15376 | 35 cp -a $install/usr $fs |
slaxemulator@7729 | 36 } |