wok view guichan/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="guichan"
4 VERSION="0.8.2"
5 CATEGORY="development"
6 SHORT_DESC="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
7 MAINTAINER="devl547@gmail.com"
8 DEPENDS="libsdl libsdl-image"
9 BUILD_DEPENDS="libsdl-dev libsdl-image-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://guichan.sourceforge.net/"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS \
19 --enable-sdl &&
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 }