wok-stable rev 17
Add : slitaz-mercurial-style + xfree86 font and Xvesa
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:35:16 2007 +0100 (2007-12-18) |
parents | 205636471fd3 |
children | 8d79fbb0f566 |
files | slitaz-mercurial-style/receipt xfree86-Xvesa/receipt xfree86-base-fonts/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-mercurial-style/receipt Tue Dec 18 13:35:16 2007 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slitaz-mercurial-style" 1.7 +VERSION="1.2" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos." 1.10 +DEPENDS="mercurial" 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.slitaz.org/" 1.14 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL" 1.15 +PYTHON_LIB="python2.5" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates 1.21 + cp -a $src/slitaz \ 1.22 + $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates 1.23 + cp -a $src/static \ 1.24 + $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates 1.25 + chown -R root.root $fs 1.26 +} 1.27 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xfree86-Xvesa/receipt Tue Dec 18 13:35:16 2007 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="xfree86-Xvesa" 2.7 +VERSION="4.6.0" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="Xvesa Tiny Xserver from XFree86." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +WEB_SITE="http://www.xfree86.org/" 2.12 + 2.13 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.14 +genpkg_rules() 2.15 +{ 2.16 + # Download and untar all tiny Xserver. 2.17 + if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then 2.18 + cd $SOURCES_REPOSITORY 2.19 + echo "Downloading Xtinyx servers..." 2.20 + wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz 2.21 + cd $WOK/$PACKAGE 2.22 + fi 2.23 + if [ ! -d "bin" ] ; then 2.24 + echo "Untaring XFree86 precompiled package..." 2.25 + tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C . 2.26 + fi 2.27 + # Do the pkg fs. 2.28 + mkdir -p $fs/usr/bin 2.29 + cp bin/Xvesa $fs/usr/bin 2.30 + strip $fs/usr/bin/Xvesa 2.31 + chmod 4711 $fs/usr/bin/Xvesa 2.32 + # Remove bin dir. 2.33 + rm -rf bin 2.34 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/xfree86-base-fonts/receipt Tue Dec 18 13:35:16 2007 +0100 3.3 @@ -0,0 +1,31 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="xfree86-base-fonts" 3.7 +VERSION="4.6.0" 3.8 +CATEGORY="x-window" 3.9 +SHORT_DESC="X window base fonts from the XFree86 project." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.12 +WEB_SITE="http://www.xfree86.org/" 3.13 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr/X11R6/lib/X11/fonts/ 3.19 + cp -a $src/fonts/* $fs/usr/X11R6/lib/X11/fonts/ 3.20 +} 3.21 + 3.22 +# Execute fc-cache when the package finish ti install. 3.23 +post_install() 3.24 +{ 3.25 + local root 3.26 + root=$1 3.27 + if [ -n "$root" ]; then 3.28 + rm -Rf $root/var/cache/fontconfig 3.29 + cp -a /var/cache/fontconfig $root/var/cache 3.30 + else 3.31 + fc-cache 3.32 + fi 3.33 +} 3.34 +SELF_INSTALL=1