wok-next view libtkimg/receipt @ rev 19759
Up cpufrequtils, dhcp, dhcp6, fontforge, glibc, libspiro, libuninameslist, slitaz-i18n, ttf-dejavu, ttf-roboto, tzdata, ucl.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 09 22:24:52 2017 +0300 (2017-06-09) |
parents | 841643b35b5e |
children | e323d0535e2c |
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 }