wok-current view libtaz/receipt @ rev 8002

Fixed libtaz, tazchroot, and tazwok-experimental again.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jan 18 12:47:44 2011 +0000 (2011-01-18)
parents 32cd9732fa86
children d0c6a2d1c542
line source
1 # SliTaz package receipt.
3 PACKAGE="libtaz"
4 VERSION="0.0.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Slitaz generic library."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 #WGET_URL="http://mirror.slitaz.org/sources/base-files/$TARBALL"
11 # using an hg URL because tarball is not avaible at this moment
12 WGET="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
13 TAGS="slitaz"
14 CONFIG_FILES="/etc/slitaz/slitaz.conf"
16 compile_rules()
17 {
18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
19 tar xzf $SOURCES_REPOSITORY/$TARBALL
20 else
21 [ -L /usr/bin/wget ] && tazpkg get-install wget --forced
22 wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
23 tar xzf $SOURCES_REPOSITORY/$TARBALL
24 fi
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/slitaz/web \
31 $fs/usr/lib/slitaz $fs/etc/slitaz
32 cp -a $src/libtaz $fs/usr/lib/slitaz
33 cp -a $src/libtaz-modules $fs/usr/lib/slitaz
34 cp -a $src/slitaz.conf $fs/etc/slitaz
35 cp -a $src/web $fs/usr/share/slitaz
36 }