# HG changeset patch # User Liu Peng # Date 1245731328 -28800 # Node ID f15fff8f2ad9bb00321fd6396b80eba822b479aa # Parent 360f1070ee8af86b290d3391dea98cfead51d730 Add scrot diff -r 360f1070ee8a -r f15fff8f2ad9 scrot/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scrot/receipt Tue Jun 23 12:28:48 2009 +0800 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="scrot" +VERSION="0.8" +CATEGORY="x-window" +SHORT_DESC="A screen capture utility." +MAINTAINER="rocky@slitaz.org" +DEPENDS="giblib" +BUILD_DEPENDS="giblib giblib-dev imlib2-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.linuxbrit.co.uk/scrot" +WGET_URL="http://www.linuxbrit.co.uk/downloads/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --disable-nls \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +}