wok-4.x annotate vacation/receipt @ rev 2271
vacation: add BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:41:03 2009 +0000 (2009-02-18) |
parents | 67c4b602e8c2 |
children | f917e0dfdfbd |
rev | line source |
---|---|
pascal@2244 | 1 # SliTaz package receipt. |
pascal@2244 | 2 |
pascal@2244 | 3 PACKAGE="vacation" |
pascal@2244 | 4 VERSION="1.2.7.0" |
pascal@2244 | 5 CATEGORY="network" |
pascal@2244 | 6 SHORT_DESC="automatic mail-answering program." |
pascal@2244 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2244 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2244 | 9 WEB_SITE="http://www.csamuel.org/software/vacation" |
pascal@2244 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2244 | 11 DEPENDS="gdbm" |
pascal@2271 | 12 BUILD_DEPENDS="gdbm-dev" |
pascal@2244 | 13 |
pascal@2244 | 14 # Rules to configure and make the package. |
pascal@2244 | 15 compile_rules() |
pascal@2244 | 16 { |
pascal@2244 | 17 cd $src |
pascal@2244 | 18 sed -i 's/uname -m/echo i386/' Makefile |
pascal@2244 | 19 make |
pascal@2244 | 20 } |
pascal@2244 | 21 |
pascal@2244 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2244 | 23 genpkg_rules() |
pascal@2244 | 24 { |
pascal@2244 | 25 mkdir -p $fs/usr/bin |
pascal@2244 | 26 cp $src/vacation $fs/usr/bin |
pascal@2244 | 27 } |
pascal@2244 | 28 |