wok-6.x annotate unixODBC/receipt @ rev 11774
libxcb-dev: Fix DEPENDS (http://bugs.slitaz.org/issue76)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 23 23:27:47 2012 +0100 (2012-02-23) |
parents | 53e1828da719 |
children | 76b72f1ad63c |
rev | line source |
---|---|
pascal@1186 | 1 # SliTaz package receipt. |
pascal@1186 | 2 |
pascal@1186 | 3 PACKAGE="unixODBC" |
slaxemulator@6600 | 4 VERSION="2.3.0" |
pascal@1186 | 5 CATEGORY="system-tools" |
pascal@1186 | 6 SHORT_DESC="ODBC for unix." |
pascal@1186 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1186 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1186 | 9 WEB_SITE="http://www.unixodbc.org/" |
pascal@1186 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2406 | 11 DEPENDS="libunixODBC readline" |
jozee@4974 | 12 TAGS="database" |
pascal@1186 | 13 |
pascal@1186 | 14 # Rules to configure and make the package. |
pascal@1186 | 15 compile_rules() |
pascal@1186 | 16 { |
pascal@1186 | 17 cd $src |
pascal@1186 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1186 | 19 --disable-gui --sysconfdir=/etc \ |
pascal@5777 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
gokhlayeh@11574 | 21 make $MAKEFLAGS && |
pascal@1186 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1186 | 23 } |
pascal@1186 | 24 |
pascal@1186 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1186 | 26 genpkg_rules() |
pascal@1186 | 27 { |
pascal@1186 | 28 mkdir -p $fs/usr/lib |
pascal@1186 | 29 cp -a $_pkg/etc $fs |
pascal@1186 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@1186 | 31 } |
pascal@1186 | 32 |