wok-4.x view libsdl-net/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | e8024c01fc47 |
children | a3d1232afa49 |
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="libsdl"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure && make && make install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib
25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
26 }