wok annotate xpenguins/receipt @ rev 25189
opusfile-dev: force version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 12 18:41:58 2022 +0000 (2022-07-12) |
parents | d765616e1f3d |
children | 72fb3028d8ce |
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" |
pascal@24979 | 9 WEB_SITE="https://ratrabbit.nl/ratrabbit/software/xpenguins/" |
llevrel@18678 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25024 | 11 WGET_URL="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/$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 } |