wok annotate libsdl-net/receipt @ rev 24910
Update some web_site (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:32:04 2022 +0000 (2022-04-09) |
parents | 724b6c79f813 |
children |
rev | line source |
---|---|
pankso@1188 | 1 # SliTaz package receipt. |
pankso@1188 | 2 |
pankso@1188 | 3 PACKAGE="libsdl-net" |
pankso@1188 | 4 SOURCE="SDL_net" |
Hans-G?nter@21292 | 5 VERSION="1.2.8" |
pankso@1188 | 6 CATEGORY="x-window" |
pankso@1188 | 7 SHORT_DESC="SDL net support." |
pankso@1188 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
Hans-G?nter@21292 | 10 WEB_SITE="http://www.libsdl.org/projects/SDL_net/" |
Hans-G?nter@21292 | 11 |
pankso@1188 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@1188 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" |
pankso@1188 | 14 |
pankso@10427 | 15 DEPENDS="libsdl" |
pankso@10427 | 16 BUILD_DEPENDS="libsdl-dev" |
pankso@10427 | 17 |
Hans-G?nter@21292 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@21292 | 19 |
pascal@24447 | 20 # What is the latest version available today? |
pascal@24447 | 21 current_version() |
pascal@24447 | 22 { |
pascal@24447 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 25 } |
pascal@24447 | 26 |
pankso@1188 | 27 # Rules to configure and make the package. |
pankso@1188 | 28 compile_rules() |
pankso@1188 | 29 { |
Hans-G?nter@21292 | 30 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21292 | 31 make -j 1 && |
Hans-G?nter@21292 | 32 make install |
pankso@1188 | 33 } |
pankso@1188 | 34 |
pankso@1188 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1188 | 36 genpkg_rules() |
pankso@1188 | 37 { |
pankso@1188 | 38 mkdir -p $fs/usr/lib |
pascal@14718 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@1188 | 40 } |