wok-next view guichan/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 34df176312fc
children e545e47edffa
line source
1 # SliTaz package receipt v2.
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 LICENSE="BSD"
9 WEB_SITE="http://guichan.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev libsdl-image-dev mesa-dev"
15 SPLIT="guichan-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 --enable-sdl \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 guichan)
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 DEPENDS="libsdl libsdl-image"
32 ;;
33 *-dev)
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*a $fs/usr/lib
36 cp -a $install/usr/include $fs/usr
37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
38 ;;
39 esac
40 }