wok-next view libt4k_common/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 6eff489aa802 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libt4k_common"
4 VERSION="0.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Common libraries for tux4kids games."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://tux4kids.alioth.debian.org"
10 SOURCE="t4k_common"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="https://alioth.debian.org/frs/download.php/3540/$TARBALL"
14 BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \
15 libsdl-net-dev librsvg-dev libsdl-pango-dev wget libxml2-dev"
16 SPLIT="libt4k_common-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libt4k_common)
31 DEPENDS="libsdl libsdl-image libsdl-mixer libsdl-ttf \
32 libsdl-net librsvg libsdl-pango"
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/usr/lib/*so* $fs/usr/lib
35 cp -ar $install/usr/share/* $fs/usr/share
36 ;;
37 libt4k_common-dev)
38 DEPENDS="libt4k_common pkg-config"
39 mkdir -p $fs/usr/include \
40 $fs/usr/lib/pkgconfig
41 cp -a $install/usr/include/* $fs/usr/include
42 cp -a $install/usr/lib/*a* $fs/usr/lib
43 cp -a $install/usr/lib/pkgconfig/* $fs/usr/lib/pkgconfig
44 ;;
45 esac
46 }