wok-next view libsdl-net/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 4cd474907d60 |
children | c4e53a39395a |
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="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/projects/SDL_net/release-1.2.html"
10 HOST_ARCH="i486 arm"
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="libsdl-net-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 libsdl-net)
25 copy @std
26 DEPENDS="libsdl"
27 ;;
28 *-dev)
29 copy @dev
30 DEPENDS="libsdl-net libsdl-dev"
31 ;;
32 esac
33 }