# HG changeset patch # User Eric Joseph-Alexandre # Date 1263678900 -3600 # Node ID 734283599021745f449e609fbc65a2d85a5b84d2 # Parent 568a128936bf459f69cc4f2aa1003b99d7e74cee Add: vim-tiny (textmode only). diff -r 568a128936bf -r 734283599021 cyrus-sasl/receipt --- a/cyrus-sasl/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/cyrus-sasl/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -8,8 +8,8 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://cyrusimap.web.cmu.edu/" WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" -DEPENDS="libldap openssl libdb" -BUILD_DEPENDS="openldap-dev" +DEPENDS="libldap openssl libdb libsasl libsasl-modules" +BUILD_DEPENDS="openldap-dev db-dev" # Rules to configure and make the package. compile_rules() @@ -17,6 +17,7 @@ cd $src ./configure --prefix=/usr --infodir=/usr/share/info \ --with-ldap=/usr --without-pam --with-devrandom=/dev/urandom \ + --with-openssl=/usr \ --mandir=/usr/share/man $CONFIGURE_ARGS sed -i 's/WITH_DES/WITH_DES 1/' config.h make && @@ -26,12 +27,18 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + cp stuff/*.files-list $src mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 cp -a stuff/etc $fs - for i in $(cd $WOK; ls -d cyrus-sasl-*) + + cat $src/*.files-list | while read file; do + rm -rf $fs$file + done + + for i in $(cd $WOK; ls -d cyrus-sasl-* libsasl*) do tazwok cook $i done diff -r 568a128936bf -r 734283599021 get-virtualbox/receipt --- a/get-virtualbox/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/get-virtualbox/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -14,6 +14,6 @@ cp stuff/get-virtualbox $fs/usr/bin # Improve Slitaz support. -# cd $fs/usr/bin && patch -p1 -i ../../../../../stuff/installer.u + cd $fs/usr/bin && patch -p1 -i ../../../../../stuff/vbox_installer.u } diff -r 568a128936bf -r 734283599021 get-virtualbox/stuff/installer.u --- a/get-virtualbox/stuff/installer.u Fri Jan 15 14:27:00 2010 +0000 +++ b/get-virtualbox/stuff/installer.u Sat Jan 16 22:55:00 2010 +0100 @@ -1,24 +1,15 @@ --- stuff/get-virtualbox Thu Jan 7 14:12:34 2010 -+++ get-virtualbox Wed Jan 13 14:50:44 2010 -@@ -24,7 +24,8 @@ - grep Linux_x86.run | sed 's|.*href="\(.*Linux_x86.run\).*|\1|' - } - --TMP_DIR=/tmp/get-$PACKAGE-$$-$RANDOM -+TMP_DIR=/home/slitaz/src/get-$PACKAGE-$$-$RANDOM ++++ get-virtualbox Fri Jan 15 11:39:10 2010 +@@ -57,6 +57,159 @@ + cd install + [ -d /usr/share/VirtualBox ] && ./uninstall.sh + find /usr /etc /lib > ../before + - CUR_DIR=$(pwd) - mkdir -p $TMP_DIR && cd $TMP_DIR - -@@ -55,6 +56,145 @@ - - # Install files - cd install + +# Add Slitaz support to VirtualBox installer. -+patch -p1 <<'EOT' +++patch -p1 <<'EOT' +--- install-ori/routines.sh Thu Dec 17 14:37:35 2009 -++++ install/routines.sh Thu Dec 24 00:17:33 2009 +++++ install/routines.sh Thu Dec 24 13:33:02 2009 +@@ -207,6 +207,10 @@ + ro_SYS_TYPE=unknown + ro_INIT_TYPE=bsd @@ -35,8 +26,8 @@ + chmod 755 "/usr/sbin/$name" 2> /dev/null + hav register $name System.Service $pardus_script ++ elif [ "$ro_INIT_TYPE" = "slitaz" ]; then -++ cp "$script" "/etc/rc.d/init.d/$name" 2> /dev/null -++ chmod 755 "/etc/rc.d/init.d/$name" 2> /dev/null +++ cp "$script" "/etc/init.d/$name" 2> /dev/null +++ chmod 755 "/etc/init.d/$name" 2> /dev/null + else + log "install_init_script: error: unknown init type" + return 1 @@ -45,7 +36,7 @@ + hav remove $name + rm -f "/usr/sbin/$name" > /dev/null 2>&1 ++ elif [ "$ro_INIT_TYPE" = "slitaz" ]; then -++ rm -f "/etc/rc.d/init.d/$name" > /dev/null 2>&1 +++ rm -f "/etc/init.d/$name" > /dev/null 2>&1 + else + log "remove_init_script: error: unknown init type" + return 1 @@ -54,7 +45,7 @@ + elif [ "$ro_INIT_TYPE" = "lfs" ]; then + "/etc/rc.d/init.d/$name" start >> $ro_LOG_FILE 2>&1 ++ elif [ "$ro_INIT_TYPE" = "slitaz" ]; then -++ "/etc/rc.d/init.d/$name" start >> $ro_LOG_FILE 2>&1 +++ "/etc/init.d/$name" start >> $ro_LOG_FILE 2>&1 + elif [ "$ro_INIT_TYPE" = "pardus" ]; then + service $name on + else @@ -63,7 +54,7 @@ + elif [ "$ro_INIT_TYPE" = "lfs" ]; then + "/etc/rc.d/init.d/$name" stop >> $ro_LOG_FILE 2>&1 ++ elif [ "$ro_INIT_TYPE" = "slitaz" ]; then -++ "/etc/rc.d/init.d/$name" stop >> $ro_LOG_FILE 2>&1 +++ "/etc/init.d/$name" stop >> $ro_LOG_FILE 2>&1 + elif [ "$ro_INIT_TYPE" = "pardus" ]; then + service $name off + else @@ -112,7 +103,7 @@ + log "$self: error: unknown init type" + return 1 +--- install-ori/vboxdrv.sh Thu Dec 17 14:37:35 2009 -++++ install/vboxdrv.sh Wed Dec 23 23:01:14 2009 +++++ install/vboxdrv.sh Thu Dec 24 11:49:30 2009 +@@ -63,6 +63,8 @@ + system=suse + elif [ -f /etc/gentoo-release ]; then @@ -150,29 +141,34 @@ + if [ "$system" != "gentoo" ]; then + begin_msg() { + [ -z "${1:-}" ] && return 1 ++@@ -169,7 +185,11 @@ ++ if ! modprobe vboxdrv > /dev/null 2>&1; then ++ failure "modprobe vboxdrv failed. Please use 'dmesg' to find out why" ++ fi ++- sleep .2 +++ if [ "$system" = "slitaz" ]; then +++ sleep 1 +++ else +++ sleep .2 +++ fi ++ fi ++ # ensure the character special exists ++ if [ ! -c $DEVICE ]; then ++ +EOT + -+ - [ -d /usr/share/VirtualBox ] && ./uninstall.sh - find /usr /etc /lib > ../before ./install.sh install /usr/share/VirtualBox -@@ -76,12 +216,18 @@ - CATEGORY="non-free" - SHORT_DESC="$SHORT_DESC" - WEB_SITE="$WEB_SITE" --DEPENDS="libsdl fontconfig gcc-lib-base glib libpng python udev" -+DEPENDS="libsdl fontconfig gcc-lib-base glib libpng python udev libglu-mesa" - - post_install() + cd .. + find /usr /etc /lib > after +@@ -82,6 +235,11 @@ { $(grep ' udev[atp]' install/install.sh) chroot "\$1/" depmod -a $(uname -r) -+} -+ -+post_remove() -+{ -+ /etc/init.d/vboxdrv stop -+ sed -i 's/vboxdrv//' /etc/rcS.conf ++ ++ # Add vboxusers group ++ if (! grep -q ^vboxusers /etc/group); then ++ addgroup vboxusers ++ fi } EOT diff -r 568a128936bf -r 734283599021 krb5/stuff/libkrb5.files-list --- a/krb5/stuff/libkrb5.files-list Fri Jan 15 14:27:00 2010 +0000 +++ b/krb5/stuff/libkrb5.files-list Sat Jan 16 22:55:00 2010 +0100 @@ -1,4 +1,3 @@ -/usr/lib/libkrb5support.so* /usr/lib/libk5crypto.so* /usr/lib/libkrb5.so* /usr/lib/libdes425.so* diff -r 568a128936bf -r 734283599021 libkrb5/receipt --- a/libkrb5/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/libkrb5/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -6,6 +6,7 @@ SHORT_DESC="Kerberos network authentication protocol libraries." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://web.mit.edu/Kerberos/" +DEPENDS="libkrb5support" WANTED="krb5" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 568a128936bf -r 734283599021 litmus/receipt --- a/litmus/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/litmus/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -8,8 +8,8 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.webdav.org/neon/litmus" WGET_URL="$WEB_SITE/$TARBALL" -DEPENDS="openssl libkrb5 krb5 expat neon readline" -BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev readline-dev" +DEPENDS="openssl libkrb5 libcomerr3 expat neon readline" +BUILD_DEPENDS="openssl-dev krb5-dev expat-dev neon-dev readline-dev" # Rules to configure and make the package. compile_rules() diff -r 568a128936bf -r 734283599021 putty/receipt --- a/putty/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/putty/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="putty" -VERSION="0.60-2009-09-08" +VERSION="0.60-2010-01-12" CATEGORY="utilities" SHORT_DESC="A free telnet/SSH client." MAINTAINER="rcx@zoominternet.net" @@ -9,16 +9,15 @@ libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5" -BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick python" +BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick python perl krb5-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://putty.linux-mirror.org/" +#WEB_SITE="http://putty.linux-mirror.org/" #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL" WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL" + # Rules to configure and make the package. compile_rules() { - mkdir -p $src/_pkg/usr/share/pixmaps - cp -a stuff/applications $src/_pkg/usr/share cd $src/icons && make && @@ -32,16 +31,21 @@ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make XFLAGS=-DTELNET_DEFAULT && - make DESTDIR=$src/_pkg install && - cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png && - cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png + make DESTDIR=$src/_pkg install + # && + #cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png && + #cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share + mkdir -p $fs/usr/share $fs/usr/share/pixmaps + + cp -a stuff/applications $src/_pkg/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/applications $fs/usr/share cp -a $_pkg/usr/share/pixmaps $fs/usr/share + cp -a $src/icons/pterm-48.png $fs/usr/share/pixmaps/pterm.png + cp -a $src/icons/putty-48.png $fs/usr/share/pixmaps/putty.png } diff -r 568a128936bf -r 734283599021 pygobject/receipt --- a/pygobject/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/pygobject/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -5,8 +5,8 @@ CATEGORY="development" SHORT_DESC="Python bindings for the GObject library" MAINTAINER="erjo@slitaz.org" -DEPENDS="python glib" -BUILD_DEPENDS="python python-dev pkg-config glib glib-dev" +DEPENDS="python glib libffi" +BUILD_DEPENDS="python python-dev pkg-config glib glib-dev libffi-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html" WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/$TARBALL" diff -r 568a128936bf -r 734283599021 pygtk/receipt --- a/pygtk/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/pygtk/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,5 +1,7 @@ # SliTaz package receipt. +PACKED_SIZE="8.0k" +UNPACKED_SIZE="4.0k" PACKAGE="pygtk" VERSION="2.16.0" CATEGORY="development" @@ -8,8 +10,8 @@ DEPENDS="python pycairo pygobject expat gtk+ libglade libxml2 xorg-libX11 \ xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ -xorg-libXdamage libffi" -BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev" +xorg-libXdamage libffi " +BUILD_DEPENDS="pygobject-dev pycairo-dev libglade-dev python-dev xcb-util-dev expat-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.pygtk.org/" WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.16/$TARBALL" diff -r 568a128936bf -r 734283599021 python-dev/receipt --- a/python-dev/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/python-dev/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="python-dev" -VERSION="2.5.1" +VERSION="2.5.4" CATEGORY="development" SHORT_DESC="The Python programming language devel files." MAINTAINER="pankso@slitaz.org" diff -r 568a128936bf -r 734283599021 python/receipt --- a/python/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/python/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="python" -VERSION="2.5.1" +VERSION="2.5.4" CATEGORY="development" SHORT_DESC="The Python programming language." MAINTAINER="pankso@slitaz.org" diff -r 568a128936bf -r 734283599021 ruby/receipt --- a/ruby/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/ruby/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,13 +1,13 @@ # SliTaz package receipt. PACKAGE="ruby" -VERSION="1.8.7-p72" +VERSION="1.9.1-p376" CATEGORY="development" SHORT_DESC="Dynamic programming language focused on simplicity and productivity." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.ruby-lang.org/" -WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL" +WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$TARBALL" DEPENDS="libdb ncurses openssl readline zlib" # Rules to configure and make the package. @@ -31,5 +31,5 @@ cp -a $_pkg/usr/bin $fs/usr # Remove devel files --> ruby-dev - rm $fs/usr/lib/ruby/1.8/i486-linux/*.h + rm $fs/usr/lib/ruby/1.9/i486-linux/*.h } diff -r 568a128936bf -r 734283599021 samba-dev/receipt --- a/samba-dev/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/samba-dev/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="samba-dev" -VERSION="3.2.14" +VERSION="3.4.4" CATEGORY="development" SHORT_DESC="File and print services with SMB/CIFS, development files." MAINTAINER="pascal.bellard@slitaz.org" diff -r 568a128936bf -r 734283599021 samba-pam/receipt --- a/samba-pam/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/samba-pam/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="samba-pam" -VERSION="3.2.14" +VERSION="3.4.4" CATEGORY="system-tools" SHORT_DESC="File and print services with SMB/CIFS using PAM." MAINTAINER="pascal.bellard@slitaz.org" @@ -19,7 +19,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src/source + cd $src/source3 ./configure --prefix=/usr --infodir=/usr/share/info \ --with-piddir=/var/run/samba --with-lockdir=/var/run/samba \ --with-winbind --with-ldap --with-fhs --enable-cups --enable-swat \ diff -r 568a128936bf -r 734283599021 samba/receipt --- a/samba/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/samba/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="samba" -VERSION="3.2.14" +VERSION="3.4.4" CATEGORY="system-tools" SHORT_DESC="File and print services with SMB/CIFS." MAINTAINER="pascal.bellard@slitaz.org" @@ -9,15 +9,15 @@ WEB_SITE="http://samba.org/" WGET_URL="${WEB_SITE}$PACKAGE/ftp/stable/$TARBALL" BUILD_DEPENDS="libldap openldap openldap-dev cups cups-dev" -DEPENDS="libldap smbclient perl cups glibc-extra-samba ncurses popt zlib" -SUGGESTED="gamin" +DEPENDS="libldap smbclient glibc-extra-samba ncurses popt zlib smbfs" +SUGGESTED="gamin cups perl" CONFIG_FILES="/etc/samba" BUGS="Open directory needs MIT kerberos support (krb5)" # Rules to configure and make the package. compile_rules() { - cd $src/source + cd $src/source3 ./configure --prefix=/usr --infodir=/usr/share/info \ --with-piddir=/var/run/samba --with-lockdir=/var/run/samba \ --with-winbind --with-ldap --with-fhs --enable-cups --enable-swat \ diff -r 568a128936bf -r 734283599021 seamonkey/receipt --- a/seamonkey/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/seamonkey/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="seamonkey" -VERSION="1.1.16" +VERSION="2.0.2" CATEGORY="network" SHORT_DESC="Seamonkey suite (browser, mail, news reader)." MAINTAINER="pankso@slitaz.org" @@ -9,12 +9,12 @@ DEPENDS="gtk+ glib jpeg xorg-libX11 libIDL" BUILD_DEPENDS="xorg-dev gtk+-dev zip libIDL coreutils findutils xorg-libXft-dev perl" WEB_SITE="http://www.seamonkey-project.org/" -WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/$TARBALL" +WGET_URL="http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/$VERSION/source/$TARBALL" # Rules to configure and make the package. compile_rules() { - mv mozilla $PACKAGE-$VERSION 2>/dev/null + mv comm-1.9.1 $PACKAGE-$VERSION 2>/dev/null cp -a stuff/seamonkey.mozconfig $src/.mozconfig cd $src cat >> layout/build/Makefile.in << "EOF" diff -r 568a128936bf -r 734283599021 smbclient/receipt --- a/smbclient/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/smbclient/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,13 +1,13 @@ # SliTaz package receipt. PACKAGE="smbclient" -VERSION="3.2.14" +VERSION="3.4.4" CATEGORY="network" SHORT_DESC="File and print services with SMB/CIFS, client side." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://samba.org/" -DEPENDS="libldap openssl cyrus-sasl readline ncurses popt libcap \ -libkrb5 krb5" +DEPENDS="libldap libssl cyrus-sasl readline ncurses popt libcap \ +libcomerr3 " WANTED="samba" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 568a128936bf -r 734283599021 swat/receipt --- a/swat/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/swat/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="swat" -VERSION="3.2.14" +VERSION="3.4.4" CATEGORY="development" SHORT_DESC="Samba Web Administration Tool." MAINTAINER="pascal.bellard@slitaz.org" diff -r 568a128936bf -r 734283599021 transmission-cli/receipt --- a/transmission-cli/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/transmission-cli/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -5,7 +5,7 @@ CATEGORY="network" SHORT_DESC="Transmission command line interface." MAINTAINER="pankso@slitaz.org" -DEPENDS="transmission" +DEPENDS="transmission libcurl libssl" WANTED="transmission" WEB_SITE="http://www.transmissionbt.com/" diff -r 568a128936bf -r 734283599021 transmission-daemon/receipt --- a/transmission-daemon/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/transmission-daemon/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -5,7 +5,8 @@ CATEGORY="network" SHORT_DESC="Transmission daemon and remote tool." MAINTAINER="pankso@slitaz.org" -DEPENDS="transmission" +DEPENDS="libssl libcurl" +SUGGESTED="transmission-web transmission-cli" WANTED="transmission" WEB_SITE="http://www.transmissionbt.com/" diff -r 568a128936bf -r 734283599021 transmission-web/receipt --- a/transmission-web/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/transmission-web/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -5,8 +5,8 @@ CATEGORY="network" SHORT_DESC="Transmission web interface." MAINTAINER="pankso@slitaz.org" -DEPENDS="transmission" WANTED="transmission" +SUGGESTED="transmission-daemon" WEB_SITE="http://www.transmissionbt.com/" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 568a128936bf -r 734283599021 transmission/receipt --- a/transmission/receipt Fri Jan 15 14:27:00 2010 +0000 +++ b/transmission/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -7,7 +7,7 @@ MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ libssl libcurl libgio dbus dbus-glib xorg-libXdamage" BUILD_DEPENDS="gtk+-dev openssl-dev curl-dev curl intltool gettext" -SUGGESTED="transmission-web" +SUGGESTED="transmission-web transmission-cli transmission-daemon" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.transmissionbt.com/" WGET_URL="http://download.m0k.org/transmission/files/$TARBALL" diff -r 568a128936bf -r 734283599021 vim-tiny/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim-tiny/receipt Sat Jan 16 22:55:00 2010 +0100 @@ -0,0 +1,86 @@ +# SliTaz package receipt. + +PACKAGE="vim-tiny" +VERSION="7.2" +CATEGORY="development" +SHORT_DESC="Advanced text editor with no GUI" +MAINTAINER="erjo@slitaz.org" +DEPENDS="ncurses" +SOURCE="vim" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.vim.org/" +WGET_URL="ftp://ftp.vim.org/pub/vim/unix/$TARBALL" +CONFIG_FILES="/etc/vimrc.tiny" + +# Rules to configure and make the package. +compile_rules() +{ + src=vim72 + #test -d $PACKAGE-$VERSION || mv vim72 $PACKAGE-$VERSION + cd $src + + ./configure --prefix=/usr \ + --cache-file=$PWD/config.cache \ + --infodir=/usr/share/info \ + --with-features=tiny \ + --enable-gui=no \ + --with-vim-name=$PACKAGE \ + --disable-acl \ + --disable-motif-check \ + --disable-athena-check \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + + make VIMRCLOC=/etc/vim VIMRUNTIMEDIR=/usr/share/vim/$src MAKE="make -e" && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + _pkg="$PWD/vim72/_pkg" + + mkdir -p $fs/usr $fs/usr/share $fs/etc/vim + + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/vim $fs/usr/share + cp -a $WOK/$PACKAGE/vim72/runtime/vimrc_example.vim $fs/etc/vim/vimrc + rm -f $fs/usr/bin/*tutor +} + + + +# Rules to clean extras dirs or files +clean_wok() +{ + rm -rf $PWD/vim72 2>/dev/null +} + +post_install() +{ + local root + root=$1 + echo "Processing post-install commands..." + cmd=`readlink $root/bin/vi` + if [ ! "$cmd" = "/usr/bin/vim" ]; then + echo "" + echo "**** Actual VI link : $cmd" + echo "" + echo -n "Do you want vim for /bin/vi (y/N) ? : "; read anser + if [ "$anser" == "y" ]; then + echo "" + echo -n "Removing vi link to make a new one pointing on /usr/bin/vim..." + rm $root/bin/vi && ln -sf $root/usr/bin/vim-tiny $root/bin/vi + status + else + echo "" + echo "Leaving /bin/vi to : $cmd" + fi + fi +} + +post_remove() +{ + # restore previous symlink + echo "Processing post-remove commands..." + ln -sf /bin/busybox /bin/vi +}