wok-6.x view unixODBC/receipt @ rev 3213

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