wok-next view libsdl-net/receipt @ rev 21077

rgb: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 04:44:58 2018 +0200 (2018-12-21)
parents df20b2110f7e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsdl-net"
4 VERSION="1.2.8"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL net support"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_net/release-1.2.html"
10 REPOLOGY="sdl-net"
12 TARBALL="SDL_net-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
15 BUILD_DEPENDS="libsdl-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 libsdl-net)
28 copy @std
29 DEPENDS="libsdl"
30 ;;
31 *-dev)
32 copy @dev
33 DEPENDS="libsdl-net libsdl-dev"
34 ;;
35 esac
36 }