wok-6.x view libsdl2-net/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | 22e3b60d4248 |
children | ede1d184d5c5 |
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure $CONFIGURE_ARGS &&
24 make -j 1 &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }