wok-next view libsdl2-net/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | |
children | 52b498d67ad8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl2-net"
4 SOURCE="SDL2_net"
5 VERSION="2.0.0"
6 CATEGORY="x-window"
7 SHORT_DESC="SDL2 net support."
8 MAINTAINER="tcg.thegamer@gmail.com"
9 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
12 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libsdl2"
16 BUILD_DEPENDS="libsdl2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }