wok-current annotate libsdl-net/receipt @ rev 25786
Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Jul 29 18:05:13 2025 +0000 (2 months ago) |
| parents | ede1d184d5c5 |
| 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 |
| shann@25728 | 18 HOST_ARCH="i486 arm x86_64" |
| 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 } |