wok-next view unixODBC/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="unixODBC"
4 VERSION="2.3.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="ODBC for UNIX"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.unixodbc.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/unixodbc.html"
11 REPOLOGY="unixodbc"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="ftp://ftp.unixodbc.org/pub/unixODBC/$TARBALL"
16 BUILD_DEPENDS="readline-dev"
17 SPLIT="libunixODBC $PACKAGE $PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --sysconfdir=/etc/unixODBC \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make $MAKEFLAGS &&
25 mkdir -p $install/etc/unixODBC/ &&
26 make DESTDIR=$install install || return 1
28 find doc -name "Makefile*" -delete
29 find doc -type f -exec chmod 644 '{}' \;
30 cook_pick_docs doc/*
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libunixODBC)
36 copy *.so*
37 CAT="system-tools|libraries"
38 ;;
39 unixODBC)
40 copy @std @rm
41 DEPENDS="libunixODBC readline"
42 CONFIG_FILES="/etc/unixODBC/"
43 TAGS="database"
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }