wok annotate extended-actions/receipt @ rev 24921
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 17:48:38 2022 +0000 (2022-04-10) |
parents | 490539922a0d |
children |
rev | line source |
---|---|
pascal@14377 | 1 # SliTaz package receipt. |
pascal@14377 | 2 |
pascal@14377 | 3 PACKAGE="extended-actions" |
pascal@14377 | 4 VERSION="0" |
pascal@14377 | 5 CATEGORY="system-tools" |
pascal@14377 | 6 SHORT_DESC="Service for generating extended actions on files" |
pascal@14377 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14377 | 8 LICENSE="GPL3" |
pascal@14377 | 9 WEB_SITE="https://launchpad.net/extended-actions" |
pascal@14377 | 10 BRANCH="5" |
pascal@14377 | 11 TARBALL="$PACKAGE-$BRANCH.tar.bz2" |
pascal@14377 | 12 WGET_URL="bzr|lp:extended-actions" |
pascal@14377 | 13 |
pascal@14377 | 14 DEPENDS="libgee libgio" |
pascal@14377 | 15 BUILD_DEPENDS="bazaar cmake vala glib-dev libgio-dev libgee-dev" |
pascal@14377 | 16 |
pascal@14377 | 17 TODO="Setup extended-actions specific to SliTaz" |
pascal@14377 | 18 |
pascal@24759 | 19 # What is the latest version available today? |
pascal@24759 | 20 current_version() |
pascal@24759 | 21 { |
pascal@24759 | 22 wget -O - https://bazaar.launchpad.net/~marlin-devs/extended-actions/trunk/files 2>/dev/null | \ |
pascal@24759 | 23 sed '/start_revid/!d;s|.*revid=||;s|".*||;q' |
pascal@24759 | 24 } |
pascal@24759 | 25 |
pascal@14377 | 26 # Rules to configure and make the package. |
pascal@14377 | 27 compile_rules() |
pascal@14377 | 28 { |
pascal@14377 | 29 # gee-1.0 is old while gee-0.8 is latest ;) |
pascal@14377 | 30 sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f)) |
pascal@14377 | 31 |
pascal@14377 | 32 mkdir build && cd build && |
pascal@14377 | 33 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@14377 | 34 make && |
pascal@14377 | 35 make DESTDIR=$install install |
pascal@14377 | 36 } |
pascal@14377 | 37 |
pascal@14377 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14377 | 39 genpkg_rules() |
pascal@14377 | 40 { |
pascal@14377 | 41 cp -a $install/* $fs |
pascal@14377 | 42 } |