SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xapian"

# SliTaz package receipt.

PACKAGE="xapian"
VERSION="1.4.20"
CATEGORY="office"
SHORT_DESC="An Open Source Search Engine Library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://xapian.org/"
REPOLOGY="xapian-core"

TARBALL="$PACKAGE-core-$VERSION.tar.xz"
WGET_URL="https://oligarchy.co.uk/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="gcc83-lib-base util-linux-uuid zlib"
BUILD_DEPENDS="gcc83 util-linux-uuid-dev zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/released on/!d;s|is ||;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        CC=gcc-83    \
        CXX=g++-83    \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

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