wok-current view unixODBC/receipt @ rev 1673

Add perl-html-entities
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:57:29 2008 +0000 (2008-11-08)
parents
children 74d9e193ac36
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"
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 }