wok annotate mozo/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (9 months ago) |
parents | 73f36875e5a7 |
children |
rev | line source |
---|---|
yuripourre@18502 | 1 # SliTaz package receipt. |
yuripourre@18502 | 2 |
yuripourre@18502 | 3 PACKAGE="mozo" |
yuripourre@18502 | 4 VERSION="1.8.0" |
yuripourre@18502 | 5 CATEGORY="x-window" |
yuripourre@18502 | 6 LICENSE="GPL3" |
yuripourre@18502 | 7 SHORT_DESC="MATE menu editing tool" |
yuripourre@18502 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@18502 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25540 | 10 WEB_SITE="https://www.mate-desktop.org/" |
yuripourre@18502 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@18502 | 12 TAGS="MATE" |
yuripourre@18502 | 13 |
yuripourre@18502 | 14 DEPENDS="gtk+ mate-menus pygtk pygobject" |
yuripourre@18502 | 15 BUILD_DEPENDS="wget gtk+-dev autoconf automake mate-common-dev \ |
yuripourre@18502 | 16 mate-desktop-dev mate-menus-dev pygobject-dev" |
yuripourre@18502 | 17 |
pascal@25600 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
yuripourre@18502 | 25 # Rules to configure and make the package. |
yuripourre@18502 | 26 compile_rules() |
yuripourre@18502 | 27 { |
yuripourre@18507 | 28 ./autogen.sh \ |
yuripourre@18507 | 29 --prefix=/usr \ |
yuripourre@18502 | 30 $CONFIGURE_ARGS && |
yuripourre@18502 | 31 make && |
yuripourre@18502 | 32 make DESTDIR=$DESTDIR install |
yuripourre@18502 | 33 } |
yuripourre@18502 | 34 |
yuripourre@18502 | 35 genpkg_rules() |
yuripourre@18502 | 36 { |
yuripourre@18503 | 37 mkdir -p $fs/usr/share |
yuripourre@18502 | 38 cp -a $install/usr/bin $fs/usr |
yuripourre@18504 | 39 cp -a $install/usr/lib $fs/usr |
yuripourre@18502 | 40 cp -a $install/usr/share $fs/usr |
yuripourre@18502 | 41 } |