wok-6.x view libsdl-net/receipt @ rev 24521

updated ettercap (0.8.3 -> 0.8.3.1)
author Hans-G?nter Theisgen
date Tue Feb 22 15:47:04 2022 +0100 (2022-02-22)
parents 724b6c79f813
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-net"
4 SOURCE="SDL_net"
5 VERSION="1.2.8"
6 CATEGORY="x-window"
7 SHORT_DESC="SDL net support."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
15 DEPENDS="libsdl"
16 BUILD_DEPENDS="libsdl-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 }