wok view libsdl2-net/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents
children 591d89fd6b00
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 }