wok-next view libsdl2-net/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | df20b2110f7e |
children |
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="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
10 REPOLOGY="sdl2-net"
12 TARBALL="SDL2_net-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
15 BUILD_DEPENDS="libsdl2-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libsdl2-net)
28 copy @std
29 DEPENDS="libsdl2 tslib"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libsdl2-net libsdl2-dev tslib-dev"
34 ;;
35 esac
36 }