wok view unixODBC/receipt @ rev 20155

ppp: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 21 09:59:35 2017 +0100 (2017-12-21)
parents 5613d51e1fdf
children dec59b33f2da
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libunixODBC readline"
16 BUILD_DEPENDS="readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --disable-gui \
24 $CONFIGURE_ARGS &&
25 make $MAKEFLAGS &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/etc $fs
34 cp -a $install/usr/bin $fs/usr
35 }