wok-next view libtkimg/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | d8b4e22f4be1 |
children | df20b2110f7e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtkimg"
4 VERSION="1.4.2"
5 CATEGORY="development"
6 SHORT_DESC="Extended image format support for Tcl/Tk"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 WEB_SITE="http://tkimg.sourceforge.net/"
11 TARBALL="tkimg$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/tkimg/$TARBALL"
14 BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev"
15 SPLIT="libtkimg-dev"
17 compile_rules() {
18 make distclean
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make all &&
24 make INSTALL_ROOT=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libtkimg)
30 mkdir -p $fs/usr/lib/Img$VERSION
31 cp -a $install/usr/lib/*.sh $fs/usr/lib
32 cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib
33 cat $install/usr/lib/Img$VERSION/*.tcl \
34 $src/Img/exec_prefix/lib/Img/*.tcl > \
35 $fs/usr/lib/Img$VERSION/pkgIndex.tcl
36 cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION
37 cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION
38 DEPENDS="tk"
39 ;;
40 *-dev)
41 mkdir -p $fs/usr/lib/Img$VERSION
42 cp -a $install/usr/lib/Img$VERSION/*.a $fs/usr/lib/Img$VERSION
43 cp -a $src/Img/exec_prefix/lib/Img/*.a $fs/usr/lib/Img$VERSION
44 cp -a $install/usr/include $fs/usr
45 cp -a $src/Img/prefix/include $fs/usr
46 ;;
47 esac
48 }