SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "popt"

# SliTaz package receipt.

PACKAGE="popt"
VERSION="1.18"
CATEGORY="system-tools"
SHORT_DESC="Library for parsing command line options."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/rpm-software-management/popt"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/rpm-software-management/$PACKAGE/archive/refs/tags/$PACKAGE-$VERSION-release.tar.gz"

SUGGESTED="popt-lang"
BUILD_DEPENDS="automake libtool"

HOST_ARCH="i486 arm"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files    *.so*
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)