wok-next view libsdl2-net/receipt @ rev 20506
zerobin: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 16 12:28:31 2018 +0100 (2018-03-16) |
parents | 52b498d67ad8 |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl2-net"
4 VERSION="2.0.1"
5 CATEGORY="network"
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 TARBALL="SDL2_net-$VERSION.tar.gz"
12 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
14 BUILD_DEPENDS="libsdl2-dev"
15 SPLIT="libsdl2-net-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS && make && make install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 libsdl2-net)
24 copy @std
25 DEPENDS="libsdl2 tslib"
26 ;;
27 *-dev)
28 copy @dev
29 DEPENDS="libsdl2-net libsdl2-dev tslib-dev"
30 ;;
31 esac
32 }