wok-next view unixODBC/receipt @ rev 6451
Up: libxslt, libxslt-dev to 1.1.26.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 28 15:05:34 2010 +0000 (2010-09-28) |
parents | 3115c291f303 |
children | cc664d78f8e0 |
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"
12 TAGS="database"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --disable-gui --sysconfdir=/etc \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make -j 4 &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 # Package all unixODBC pkgs
32 for i in $(cd $WOK; ls -d unixODBC-* libunixODBC*)
33 do
34 tazwok genpkg $i
35 done
36 }