wok-next view sdl/receipt @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents 0f2575775b2d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sdl"
4 VERSION="1.2.15"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple DirectMedia Layer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.libsdl.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/sdl.html"
12 TARBALL="SDL-$VERSION.tar.gz"
13 WGET_URL="http://www.libsdl.org/release/$TARBALL"
14 TARBALL_SHA1="0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c"
16 COOKOPTS="force-arch" # different .h
18 BUILD_DEPENDS="nasm alsa-lib-dev libx11-dev libice-dev libxrandr-dev mesa-dev \
19 glu-dev tslib-dev libusb-dev"
20 SPLIT="$PACKAGE-dev"
22 DEPENDS_std="tslib"
23 DEPENDS_dev="$PACKAGE tslib-dev libx11-dev"
25 compile_rules() {
26 sed -e '/_XData32/s:register long:register _Xconst long:' \
27 -i src/video/x11/SDL_x11sym.h &&
29 ./configure $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install || return 1
34 rm $install/usr/lib/*.a # --disable-static doesn't work
35 cook_pick_docs docs/html/*.html
36 }
38 PROVIDE_std="libsdl"
39 PROVIDE_dev="libsdl-dev"