wok-next view unixODBC/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | 10df65db91ad |
children | cd7906120828 |
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/stable/general/unixodbc.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="ftp://ftp.unixodbc.org/pub/unixODBC/$TARBALL"
15 BUILD_DEPENDS="readline-dev"
16 SPLIT="libunixODBC unixODBC unixODBC-dev"
18 compile_rules() {
19 ./configure \
20 --sysconfdir=/etc/unixODBC \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make $MAKEFLAGS &&
24 mkdir -p $install/etc/unixODBC/ &&
25 make DESTDIR=$DESTDIR install || return 1
27 find doc -name "Makefile*" -delete
28 find doc -type f -exec chmod 644 '{}' \;
29 cook_pick_docs doc/*
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libunixODBC)
35 copy *.so*
36 CAT="system-tools|libraries"
37 ;;
38 unixODBC)
39 copy @std @rm
40 DEPENDS="libunixODBC readline"
41 CONFIG_FILES="/etc/unixODBC/"
42 TAGS="database"
43 ;;
44 *-dev)
45 copy @dev
46 ;;
47 esac
48 }