wok-4.x rev 28
Add : gtkdialog, openssl, pcre-dev, pkg-config
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:57:20 2007 +0100 (2007-12-18) |
parents | 99715173ee02 |
children | 3169dbe810b0 |
files | gtkdialog/receipt gtkdialog/stuff/examples/00.00-text gtkdialog/stuff/examples/10.00-vbox_and_hbox gtkdialog/stuff/examples/13.00-chooser gtkdialog/stuff/examples/14.00-menubar openssl-dev/receipt openssl/receipt pcre-dev/receipt pkg-config/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtkdialog/receipt Tue Dec 18 13:57:20 2007 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gtkdialog" 1.7 +VERSION="0.7.9" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Small utility for fast and easy GUI building using GTK+." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://linux.pte.hu/~pipas/gtkdialog/" 1.14 +WGET_URL="ftp://linux.pte.hu/pub/gtkdialog/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.21 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.22 + make 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/share/examples 1.30 + cp -a $_pkg/usr/bin $fs/usr 1.31 + strip -s $fs/usr/bin/* 1.32 + # Fiew examples. 1.33 + cp -a stuff/examples $fs/usr/share/examples/gtkdialog 1.34 +} 1.35 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gtkdialog/stuff/examples/00.00-text Tue Dec 18 13:57:20 2007 +0100 2.3 @@ -0,0 +1,17 @@ 2.4 +#!/bin/sh 2.5 + 2.6 +export MAIN_DIALOG=' 2.7 + <vbox> 2.8 + <text> 2.9 + <label>This is a static text.</label> 2.10 + </text> 2.11 + <hbox> 2.12 + <button ok></button> 2.13 + <button cancel></button> 2.14 + </hbox> 2.15 + </vbox> 2.16 +' 2.17 + 2.18 +gtkdialog --program=MAIN_DIALOG 2.19 + 2.20 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/gtkdialog/stuff/examples/10.00-vbox_and_hbox Tue Dec 18 13:57:20 2007 +0100 3.3 @@ -0,0 +1,22 @@ 3.4 +#!/bin/sh 3.5 + 3.6 +export MAIN_DIALOG=' 3.7 + <vbox> 3.8 + <hbox> 3.9 + <text><label>Label1</label></text> 3.10 + <entry></entry> 3.11 + </hbox> 3.12 + <hbox> 3.13 + <text><label>Label2</label></text> 3.14 + <entry></entry> 3.15 + </hbox> 3.16 + <hbox> 3.17 + <button cancel></button> 3.18 + <button help></button> 3.19 + </hbox> 3.20 + </vbox> 3.21 +' 3.22 + 3.23 +gtkdialog --program=MAIN_DIALOG 3.24 + 3.25 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/gtkdialog/stuff/examples/13.00-chooser Tue Dec 18 13:57:20 2007 +0100 4.3 @@ -0,0 +1,16 @@ 4.4 +#!/bin/sh 4.5 + 4.6 +export MAIN_DIALOG=' 4.7 +<vbox> 4.8 + <chooser> 4.9 + <height>500</height><width>600</width> 4.10 + <variable>CHOOSER</variable> 4.11 + </chooser> 4.12 + <hbox> 4.13 + <button help></button> 4.14 + <button ok></button> 4.15 + </hbox> 4.16 +</vbox> 4.17 +' 4.18 + 4.19 +gtkdialog --program=MAIN_DIALOG
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/gtkdialog/stuff/examples/14.00-menubar Tue Dec 18 13:57:20 2007 +0100 5.3 @@ -0,0 +1,47 @@ 5.4 +#!/bin/sh 5.5 + 5.6 +export MAIN_DIALOG=' 5.7 +<vbox> 5.8 + <menubar> 5.9 + <menu> 5.10 + <menuitem stock="gtk-open"> 5.11 + <action>echo You selected the open menu item.</action> 5.12 + </menuitem> 5.13 + <menuitem stock="gtk-save"> 5.14 + <action>echo You selected the open menu item.</action> 5.15 + </menuitem> 5.16 + <separator></separator> 5.17 + <menuitem stock="gtk-quit"> 5.18 + <action>echo You selected the quit menu item</action> 5.19 + <action type="exit">exit by menu</action> 5.20 + </menuitem> 5.21 + <label>File</label> 5.22 + </menu> 5.23 + <menu> 5.24 + <menuitem stock="gtk-copy"> 5.25 + <action>echo You selected the copy menuitem.</action> 5.26 + </menuitem> 5.27 + <menuitem stock="gtk-cut"> 5.28 + <action>echo You selected the cut menuitem.</action> 5.29 + </menuitem> 5.30 + <menuitem stock="gtk-paste"> 5.31 + <action>echo You selected the paste menuitem.</action> 5.32 + </menuitem> 5.33 + <label>Edit</label> 5.34 + </menu> 5.35 + <menu> 5.36 + <menuitem> 5.37 + <label>A menu item</label> 5.38 + <action>echo You selected the custom menu item.</action> 5.39 + </menuitem> 5.40 + <label>Item</label> 5.41 + </menu> 5.42 + </menubar> 5.43 + <hbox> 5.44 + <button cancel></button> 5.45 + <button ok></button> 5.46 + </hbox> 5.47 +</vbox> 5.48 +' 5.49 + 5.50 +gtkdialog --program=MAIN_DIALOG
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/openssl-dev/receipt Tue Dec 18 13:57:20 2007 +0100 6.3 @@ -0,0 +1,19 @@ 6.4 +# SliTaz package receipt. 6.5 + 6.6 +PACKAGE="openssl-dev" 6.7 +VERSION="0.9.8g" 6.8 +CATEGORY="devel" 6.9 +SHORT_DESC="Open source Secure Sockets Layer devel files." 6.10 +MAINTAINER="pankso@slitaz.org" 6.11 +WANTED="openssl" 6.12 +WEB_SITE="http://www.openssl.org/" 6.13 + 6.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 6.15 +genpkg_rules() 6.16 +{ 6.17 + mkdir -p $fs/usr/lib 6.18 + cp -a $_pkg/usr/include $fs/usr 6.19 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 6.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 6.21 +} 6.22 +
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/openssl/receipt Tue Dec 18 13:57:20 2007 +0100 7.3 @@ -0,0 +1,31 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="openssl" 7.7 +VERSION="0.9.8g" 7.8 +CATEGORY="extra" 7.9 +SHORT_DESC="Open source Secure Sockets Layer." 7.10 +MAINTAINER="pankso@slitaz.org" 7.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 7.12 +WEB_SITE="http://www.openssl.org/" 7.13 +WGET_URL="http://www.openssl.org/source/$TARBALL" 7.14 + 7.15 +# Rules to configure and make the package. 7.16 +compile_rules() 7.17 +{ 7.18 + cd $src 7.19 + ./config --prefix=/usr --openssldir=/etc/ssl shared 7.20 + $CONFIGURE_ARGS 7.21 + make 7.22 + make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install 7.23 +} 7.24 + 7.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.26 +genpkg_rules() 7.27 +{ 7.28 + mkdir -p $fs/usr/lib 7.29 + cp -a $_pkg/etc $fs 7.30 + cp -a $_pkg/usr/bin $fs/usr 7.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 7.32 + strip -s $fs/usr/bin/* 2>/dev/null 7.33 +} 7.34 +
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/pcre-dev/receipt Tue Dec 18 13:57:20 2007 +0100 8.3 @@ -0,0 +1,20 @@ 8.4 +# SliTaz package receipt. 8.5 + 8.6 +PACKAGE="pcre-dev" 8.7 +VERSION="7.4" 8.8 +CATEGORY="devel" 8.9 +SHORT_DESC="Perl Compatible Regular Expressions devel files." 8.10 +MAINTAINER="pankso@slitaz.org" 8.11 +WANTED="pcre" 8.12 +WEB_SITE="http://www.pcre.org/" 8.13 + 8.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 8.15 +genpkg_rules() 8.16 +{ 8.17 + mkdir -p $fs/usr/lib 8.18 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 8.19 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 8.20 + cp -a $_pkg/usr/include $fs/usr 8.21 + cp -a $_pkg/usr/bin $fs/usr 8.22 + strip -s $fs/usr/bin/* 2>/dev/null 8.23 +}
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/pkg-config/receipt Tue Dec 18 13:57:20 2007 +0100 9.3 @@ -0,0 +1,29 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="pkg-config" 9.7 +VERSION="0.21" 9.8 +CATEGORY="devel" 9.9 +SHORT_DESC="Free desktop packages manager." 9.10 +MAINTAINER="pankso@slitaz.org" 9.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 9.12 +WEB_SITE="http://pkgconfig.freedesktop.org/wiki/" 9.13 +WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL" 9.14 + 9.15 +# Rules to configure and make the package. 9.16 +compile_rules() 9.17 +{ 9.18 + cd $src 9.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 9.20 + --mandir=/usr/share/man $CONFIGURE_ARGS 9.21 + make 9.22 + make DESTDIR=$PWD/_pkg install 9.23 +} 9.24 + 9.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.26 +genpkg_rules() 9.27 +{ 9.28 + mkdir -p $fs/usr/share 9.29 + cp -a $_pkg/usr/bin $fs/usr 9.30 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 9.31 + strip -s $fs/usr/bin/* 9.32 +}