wok annotate gnome-js-common/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (2 weeks ago) |
parents | 86790a278e70 |
children |
rev | line source |
---|---|
pascal@11207 | 1 # SliTaz package receipt. |
pascal@11207 | 2 |
pascal@11207 | 3 PACKAGE="gnome-js-common" |
pascal@11207 | 4 VERSION="0.1.2" |
pascal@11207 | 5 CATEGORY="system-tools" |
pascal@11207 | 6 SHORT_DESC="Gnome JS common files." |
pascal@11207 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL3" |
pascal@11207 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://www.gnome.org/" |
pascal@11207 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11207 | 12 |
pascal@11207 | 13 DEPENDS="" |
gokhlayeh@11435 | 14 BUILD_DEPENDS="intltool" |
pascal@11207 | 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 |
pascal@11207 | 22 # Rules to configure and make the package. |
pascal@11207 | 23 compile_rules() |
pascal@11207 | 24 { |
pascal@11207 | 25 cd $src |
pascal@11207 | 26 ./configure \ |
pascal@11207 | 27 $CONFIGURE_ARGS && |
pascal@11207 | 28 make && make install |
pascal@11207 | 29 } |
pascal@11207 | 30 |
pascal@11207 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 32 genpkg_rules() |
pascal@11207 | 33 { |
pascal@11207 | 34 mkdir -p $fs/usr |
pascal@11207 | 35 cp -a $install/usr/lib $fs/usr |
pascal@11207 | 36 } |