wok view libtkimg/receipt @ rev 23653
updated snapper and snapper-dev (0.8.6 -> 0.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 17:10:16 2020 +0100 (2020-04-20) |
parents | 841643b35b5e |
children | 65d7d867e0c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtkimg"
4 SOURCE="tkimg"
5 VERSION="1.4.2"
6 CATEGORY="development"
7 SHORT_DESC="Extended image format support for Tcl/Tk"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD GPL2"
10 TARBALL="$SOURCE$VERSION.tar.bz2"
11 WEB_SITE="http://tkimg.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="tk"
15 BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make distclean
21 ./configure --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make all &&
25 make INSTALL_ROOT=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/Img$VERSION
32 cp -a $install/usr/lib/*.sh $fs/usr/lib
33 cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib
34 cat $install/usr/lib/Img$VERSION/*.tcl \
35 $src/Img/exec_prefix/lib/Img/*.tcl > \
36 $fs/usr/lib/Img$VERSION/pkgIndex.tcl
37 cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION
38 cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION
39 }