wok annotate xpenguins/receipt @ rev 24503
updated dulwich (0.19.14 -> 0.19.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:36:29 2022 +0100 (2022-02-20) |
parents | cc044c37d3ba |
children | d765616e1f3d |
rev | line source |
---|---|
llevrel@18678 | 1 # SliTaz package receipt. |
llevrel@18678 | 2 |
llevrel@18678 | 3 PACKAGE="xpenguins" |
llevrel@18678 | 4 VERSION="2.2" |
llevrel@18678 | 5 CATEGORY="misc" |
llevrel@18678 | 6 SHORT_DESC="Cute little penguins walking along the tops of your windows" |
llevrel@18678 | 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>" |
llevrel@18678 | 8 LICENSE="GPL" |
llevrel@18678 | 9 WEB_SITE="http://xpenguins.seul.org" |
llevrel@18678 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
llevrel@18678 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
llevrel@18678 | 12 |
llevrel@18678 | 13 DEPENDS="xorg-libXpm xorg-libX11 xorg-libXext" |
llevrel@18678 | 14 BUILD_DEPENDS="xorg-libXpm-dev xorg-libX11-dev xorg-libXext-dev" |
llevrel@18678 | 15 |
pascal@24425 | 16 # What is the latest version available today? |
pascal@24425 | 17 current_version() |
pascal@24425 | 18 { |
pascal@24425 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 21 } |
pascal@24425 | 22 |
llevrel@18678 | 23 # Rules to configure and make the package. |
llevrel@18678 | 24 compile_rules() |
llevrel@18678 | 25 { |
llevrel@18678 | 26 ./configure $CONFIGURE_ARGS --prefix=/usr && |
llevrel@18678 | 27 make && |
llevrel@18678 | 28 make DESTDIR=$DESTDIR install |
llevrel@18814 | 29 mkdir -p $install/usr/share/applications |
llevrel@18814 | 30 cp -a $stuff/xpenguins.desktop $install/usr/share/applications |
llevrel@18814 | 31 cp -a $stuff/xpenguins.sh $install/usr/bin |
llevrel@18678 | 32 } |
llevrel@18678 | 33 |
llevrel@18678 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
llevrel@18678 | 35 genpkg_rules() |
llevrel@18678 | 36 { |
llevrel@18678 | 37 cp -a $install/* $fs |
al@18679 | 38 rm -r $fs/usr/share/man |
llevrel@18678 | 39 } |