wok-current annotate catfish/receipt @ rev 13296

Add dukto
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 28 13:52:43 2012 +0200 (2012-08-28)
parents
children 427b650440cd
rev   line source
pascal@11218 1 # SliTaz package receipt.
pascal@11218 2
pascal@11218 3 PACKAGE="catfish"
pascal@11218 4 VERSION="0.3.2"
pascal@11218 5 CATEGORY="utilities"
pascal@11218 6 SHORT_DESC="Catfish is a versatile file searching tool."
pascal@11218 7 MAINTAINER="devl547@gmail.com"
pascal@11218 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11218 9 WEB_SITE="http://www.twotoasts.de/"
pascal@11218 10 WGET_URL="http://www.twotoasts.de/media/catfish/$TARBALL"
pascal@11218 11 BUILD_DEPENDS="pygtk-dev libglade-dev"
pascal@11218 12 DEPENDS="pygtk libglade python-xdg"
pascal@11218 13
pascal@11218 14 # Rules to configure and make the package.
pascal@11218 15 compile_rules()
pascal@11218 16 {
pascal@11218 17 cd $src
pascal@11218 18 ./configure --prefix=/usr &&
pascal@11218 19 make &&
pascal@11218 20 make DESTDIR=$PWD/_pkg install
pascal@11218 21 }
pascal@11218 22
pascal@11218 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11218 24 genpkg_rules()
pascal@11218 25 {
pascal@11218 26 mkdir -p $fs/usr/share/catfish
pascal@11218 27 mkdir $fs/usr/share
pascal@11218 28
pascal@11218 29 cp -a $_pkg/usr/bin $fs/usr
pascal@11218 30 cp -a $_pkg/usr/share/catfish $fs/usr/share
pascal@11218 31 cp -a $_pkg/usr/share/icons $fs/usr/share
pascal@11218 32 cp -a $_pkg/usr/share/applications $fs/usr/share
pascal@11218 33 }