wok-6.x annotate sagan-rules/receipt @ rev 11418
Add: sagan, sagan-pgsql, sagan-mysql, sagan-rules
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Dec 14 02:30:44 2011 +0100 (2011-12-14) |
parents | |
children | 23e3fa9c545d |
rev | line source |
---|---|
erjo@11418 | 1 # SliTaz package receipt. |
erjo@11418 | 2 |
erjo@11418 | 3 PACKAGE="sagan-rules" |
erjo@11418 | 4 VERSION="current" |
erjo@11418 | 5 CATEGORY="security" |
erjo@11418 | 6 SHORT_DESC="sagan rules" |
erjo@11418 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@11418 | 8 WEB_SITE="http://sagan.softwink.com/" |
erjo@11418 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11418 | 10 WGET_URL="http://sagan.softwink.com/rules/$TARBALL" |
erjo@11418 | 11 |
erjo@11418 | 12 DEPENDS="" |
erjo@11418 | 13 BUILD_DEPENDS="" |
erjo@11418 | 14 |
erjo@11418 | 15 # Rules to configure and make the package. |
erjo@11418 | 16 compile_rules() |
erjo@11418 | 17 { |
erjo@11418 | 18 [ -d $install ] || mkdir -p $install |
erjo@11418 | 19 cp * $install |
erjo@11418 | 20 |
erjo@11418 | 21 } |
erjo@11418 | 22 |
erjo@11418 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11418 | 24 genpkg_rules() |
erjo@11418 | 25 { |
erjo@11418 | 26 mkdir -p $fs/etc/sagan/rules |
erjo@11418 | 27 |
erjo@11418 | 28 cp -a $install/* $fs/etc/sagan/rules |
erjo@11418 | 29 } |