wok-current annotate unixODBC/receipt @ rev 3687
Add: tcllib
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jul 15 17:55:20 2009 +0000 (2009-07-15) |
parents | cf7ebadbfe65 |
children | 3115c291f303 |
rev | line source |
---|---|
pascal@1186 | 1 # SliTaz package receipt. |
pascal@1186 | 2 |
pascal@1186 | 3 PACKAGE="unixODBC" |
pascal@1186 | 4 VERSION="2.2.12" |
pascal@1186 | 5 CATEGORY="system-tools" |
pascal@1186 | 6 SHORT_DESC="ODBC for unix." |
pascal@1186 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1186 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1186 | 9 WEB_SITE="http://www.unixodbc.org/" |
pascal@1186 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2406 | 11 DEPENDS="libunixODBC readline" |
pascal@1186 | 12 |
pascal@1186 | 13 # Rules to configure and make the package. |
pascal@1186 | 14 compile_rules() |
pascal@1186 | 15 { |
pascal@1186 | 16 cd $src |
pascal@1186 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1186 | 18 --disable-gui --sysconfdir=/etc \ |
pascal@1186 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@1186 | 20 make |
pascal@1186 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1186 | 22 } |
pascal@1186 | 23 |
pascal@1186 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1186 | 25 genpkg_rules() |
pascal@1186 | 26 { |
pascal@1186 | 27 mkdir -p $fs/usr/lib |
pascal@1186 | 28 cp -a $_pkg/etc $fs |
pascal@1186 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1186 | 30 # Package all unixODBC pkgs |
pascal@1186 | 31 for i in $(cd $WOK; ls -d unixODBC-* libunixODBC*) |
pascal@1186 | 32 do |
pascal@1186 | 33 tazwok genpkg $i |
pascal@1186 | 34 done |
pascal@1186 | 35 } |
pascal@1186 | 36 |