SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libdbi"

# SliTaz package receipt.

PACKAGE="libdbi"
VERSION="0.9.0"
CATEGORY="development"
SHORT_DESC="Database independent abstraction layer for C."
MAINTAINER="maintainer@slitaz.org"
LICENSE="LGPL2+"
WEB_SITE="https://sourceforge.net/projects/libdbi/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/libdbi/files/libdbi/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/libdbi-||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)