SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ldm"

# SliTaz package receipt.

PACKAGE="ldm"
VERSION="0.8"
CATEGORY="system-tools"
SHORT_DESC="l(ightweight) d(evice) m(ounter)."
MAINTAINER="pankso@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/LemonBoy/ldm"
REPOLOGY="ldm-mounter"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/tarball/v$VERSION"

DEPENDS="glib udev"
BUILD_DEPENDS="glib-dev udev-dev util-linux-blkid util-linux-mount-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/tarb*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    LDFLAGS="$LDFLAGS -ludev -lmount -lglib-2.0"

    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)