wok annotate 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
rev   line source
tcg@17136 1 # SliTaz package receipt.
tcg@17136 2
tcg@17136 3 PACKAGE="libsdl2-net"
tcg@17136 4 SOURCE="SDL2_net"
tcg@17136 5 VERSION="2.0.0"
tcg@17136 6 CATEGORY="x-window"
tcg@17136 7 SHORT_DESC="SDL2 net support."
tcg@17136 8 MAINTAINER="tcg.thegamer@gmail.com"
tcg@17136 9 LICENSE="LGPL2.1"
tcg@17136 10 TARBALL="$SOURCE-$VERSION.tar.gz"
tcg@17136 11 WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
tcg@17136 12 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
tcg@17136 13 HOST_ARCH="i486 arm"
tcg@17136 14
tcg@17136 15 DEPENDS="libsdl2"
tcg@17136 16 BUILD_DEPENDS="libsdl2-dev"
tcg@17136 17
tcg@17136 18 # Rules to configure and make the package.
tcg@17136 19 compile_rules()
tcg@17136 20 {
tcg@17136 21 ./configure $CONFIGURE_ARGS && make && make install
tcg@17136 22 }
tcg@17136 23
tcg@17136 24 # Rules to gen a SliTaz package suitable for Tazpkg.
tcg@17136 25 genpkg_rules()
tcg@17136 26 {
tcg@17136 27 mkdir -p $fs/usr/lib
tcg@17136 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
tcg@17136 29 }