wok view libsdl2-net/receipt @ rev 24780
transmission: autoconf 2.70+ bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 20:17:02 2022 +0000 (2022-03-19) |
parents | 591d89fd6b00 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2-net"
4 VERSION="2.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL2 net support."
7 MAINTAINER="tcg.thegamer@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
11 SOURCE="SDL2_net"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
15 DEPENDS="libsdl2"
16 BUILD_DEPENDS="libsdl2-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }