wok-stable view libsdl-net/receipt @ rev 5879

pam_ldap: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 21 09:10:49 2010 +0200 (2010-07-21)
parents a7b619564b2b
children 8c08820e8dfb
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-net"
4 SOURCE="SDL_net"
5 VERSION="1.2.7"
6 CATEGORY="x-window"
7 SHORT_DESC="SDL net support."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="xorg libsdl"
10 BUILD_DEPENDS="xorg-dev libsdl-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/lib/*.so* $fs/usr/lib
29 }