wok rev 1186
Add unixODBC
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 04 13:28:16 2008 +0000 (2008-08-04) |
parents | 64c626e98a31 |
children | d659eda8a095 |
files | libunixODBC/receipt unixODBC-dev/receipt unixODBC/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libunixODBC/receipt Mon Aug 04 13:28:16 2008 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libunixODBC" 1.7 +VERSION="2.2.12" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="ODBC for unix libraries." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.unixodbc.org/" 1.12 +WANTED="unixODBC" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.19 +} 1.20 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/unixODBC-dev/receipt Mon Aug 04 13:28:16 2008 +0000 2.3 @@ -0,0 +1,18 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="unixODBC-dev" 2.7 +VERSION="2.2.12" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="ODBC for unix development files." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +WEB_SITE="http://www.unixodbc.org/" 2.12 +WANTED="unixODBC" 2.13 + 2.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.15 +genpkg_rules() 2.16 +{ 2.17 + mkdir -p $fs/usr/lib 2.18 + cp -a $_pkg/usr/include $fs/usr 2.19 + cp -a $_pkg/usr/lib/*a $fs/usr/lib 2.20 +} 2.21 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/unixODBC/receipt Mon Aug 04 13:28:16 2008 +0000 3.3 @@ -0,0 +1,36 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="unixODBC" 3.7 +VERSION="2.2.12" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="ODBC for unix." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.12 +WEB_SITE="http://www.unixodbc.org/" 3.13 +WGET_URL="${WEB_SITE}$TARBALL" 3.14 +DEPENDS="libunixODBC" 3.15 + 3.16 +# Rules to configure and make the package. 3.17 +compile_rules() 3.18 +{ 3.19 + cd $src 3.20 + ./configure --prefix=/usr --infodir=/usr/share/info \ 3.21 + --disable-gui --sysconfdir=/etc \ 3.22 + --mandir=/usr/share/man $CONFIGURE_ARGS 3.23 + make 3.24 + make DESTDIR=$PWD/_pkg install 3.25 +} 3.26 + 3.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.28 +genpkg_rules() 3.29 +{ 3.30 + mkdir -p $fs/usr/lib 3.31 + cp -a $_pkg/etc $fs 3.32 + cp -a $_pkg/usr/bin $fs/usr 3.33 + # Package all unixODBC pkgs 3.34 + for i in $(cd $WOK; ls -d unixODBC-* libunixODBC*) 3.35 + do 3.36 + tazwok genpkg $i 3.37 + done 3.38 +} 3.39 +