wok annotate libtaz/receipt @ rev 10699

winetricks: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 28 09:26:23 2011 +0200 (2011-05-28)
parents 38146c80250b
children 57a66c246571
rev   line source
gokhlayeh@7998 1 # SliTaz package receipt.
gokhlayeh@7998 2
gokhlayeh@7998 3 PACKAGE="libtaz"
slaxemulator@10479 4 VERSION="1.1.2"
gokhlayeh@7998 5 CATEGORY="base-system"
gokhlayeh@7998 6 SHORT_DESC="Slitaz generic library."
gokhlayeh@7998 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@7998 8 WEB_SITE="http://www.slitaz.org/"
gokhlayeh@9206 9 # Download directly from hg, because this package is needed when
gokhlayeh@9206 10 # cooking toolchain. (mercurial is not available at this time)
gokhlayeh@9206 11 # TARBALL/SOURCE are used to make the archive named well.
slaxemulator@8850 12 SOURCE="slitaz-dev-tools"
pankso@9761 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@9208 14 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
pankso@9762 15 [ -x /usr/bin/hg ] && WGET_URL="hg|http://hg.slitaz.org/slitaz-dev-tools"
slaxemulator@8850 16 CONFIG_FILES="/etc/slitaz/slitaz.conf"
gokhlayeh@7998 17 TAGS="slitaz"
gokhlayeh@7998 18
gokhlayeh@7998 19 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7998 20 genpkg_rules()
gokhlayeh@7998 21 {
gokhlayeh@7998 22 mkdir -p $fs/usr/share/slitaz/web \
gokhlayeh@7998 23 $fs/usr/lib/slitaz $fs/etc/slitaz
slaxemulator@8850 24 cp -a $src/$PACKAGE/libtaz $fs/usr/lib/slitaz
slaxemulator@8850 25 cp -a $src/$PACKAGE/libtaz-modules $fs/usr/lib/slitaz
slaxemulator@8850 26 cp -a $src/$PACKAGE/slitaz.conf $fs/etc/slitaz
slaxemulator@8850 27 cp -a $src/$PACKAGE/web $fs/usr/share/slitaz
gokhlayeh@7998 28 }