# HG changeset patch # User Christophe Lincoln # Date 1197981316 -3600 # Node ID 11b6c0dd4a0cd0d9ca8948b5ae03da85125dd523 # Parent 205636471fd3af910e8b13360b79fea1ed5a6d98 Add : slitaz-mercurial-style + xfree86 font and Xvesa diff -r 205636471fd3 -r 11b6c0dd4a0c slitaz-mercurial-style/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-mercurial-style/receipt Tue Dec 18 13:35:16 2007 +0100 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-mercurial-style" +VERSION="1.2" +CATEGORY="extra" +SHORT_DESC="SliTaz CSS style and images for Mercurial Web repos." +DEPENDS="mercurial" +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.slitaz.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL" +PYTHON_LIB="python2.5" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates + cp -a $src/slitaz \ + $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates + cp -a $src/static \ + $fs/usr/lib/$PYTHON_LIB/site-packages/mercurial/templates + chown -R root.root $fs +} + diff -r 205636471fd3 -r 11b6c0dd4a0c xfree86-Xvesa/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfree86-Xvesa/receipt Tue Dec 18 13:35:16 2007 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="xfree86-Xvesa" +VERSION="4.6.0" +CATEGORY="x-window" +SHORT_DESC="Xvesa Tiny Xserver from XFree86." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.xfree86.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Download and untar all tiny Xserver. + if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then + cd $SOURCES_REPOSITORY + echo "Downloading Xtinyx servers..." + wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz + cd $WOK/$PACKAGE + fi + if [ ! -d "bin" ] ; then + echo "Untaring XFree86 precompiled package..." + tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C . + fi + # Do the pkg fs. + mkdir -p $fs/usr/bin + cp bin/Xvesa $fs/usr/bin + strip $fs/usr/bin/Xvesa + chmod 4711 $fs/usr/bin/Xvesa + # Remove bin dir. + rm -rf bin +} diff -r 205636471fd3 -r 11b6c0dd4a0c xfree86-base-fonts/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfree86-base-fonts/receipt Tue Dec 18 13:35:16 2007 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="xfree86-base-fonts" +VERSION="4.6.0" +CATEGORY="x-window" +SHORT_DESC="X window base fonts from the XFree86 project." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.xfree86.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/X11R6/lib/X11/fonts/ + cp -a $src/fonts/* $fs/usr/X11R6/lib/X11/fonts/ +} + +# Execute fc-cache when the package finish ti install. +post_install() +{ + local root + root=$1 + if [ -n "$root" ]; then + rm -Rf $root/var/cache/fontconfig + cp -a /var/cache/fontconfig $root/var/cache + else + fc-cache + fi +} +SELF_INSTALL=1