wok-stable annotate libtaz/receipt @ rev 9762

libtaz: FIX for cookutils and do the way all other hg packages
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 15:22:38 2011 +0200 (2011-05-11)
parents 7f7421453911
children 60e5b78b4e58
rev   line source
gokhlayeh@7998 1 # SliTaz package receipt.
gokhlayeh@7998 2
gokhlayeh@7998 3 PACKAGE="libtaz"
gokhlayeh@9515 4 VERSION="1.1.1"
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 }