# SliTaz package receipt. PACKAGE="unixODBC" VERSION="2.3.0" CATEGORY="system-tools" SHORT_DESC="ODBC for unix." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.unixodbc.org/" WGET_URL="${WEB_SITE}$TARBALL" DEPENDS="libunixODBC readline" TAGS="database" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --infodir=/usr/share/info \ --disable-gui --sysconfdir=/etc \ --mandir=/usr/share/man $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/etc $fs cp -a $_pkg/usr/bin $fs/usr }