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