wok view unixODBC/receipt @ rev 15949
compton: avoid source tarball collisions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 12:17:31 2014 +0000 (2014-02-23) |
parents | 8e4c74abdf74 |
children | 5613d51e1fdf |
line source
1 # SliTaz package receipt.
3 PACKAGE="unixODBC"
4 VERSION="2.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="ODBC for unix."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.unixodbc.org/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 TAGS="database"
14 DEPENDS="libunixODBC readline"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --disable-gui --sysconfdir=/etc \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make $MAKEFLAGS &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 }