SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gadmin-proftpd"

# SliTaz package receipt.

PACKAGE="gadmin-proftpd"
VERSION="0.4.7"
CATEGORY="x-window"
SHORT_DESC="GTK+ configuration tool for ProFTPd."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20180218034430/http://dalalven.dtdns.net/linux/gadmintools-webpage/"
WGET_URL="https://github.com/sedwards/gadmintools_src_pkgs/raw/master/$TARBALL"

DEPENDS="gtk+ proftpd"
BUILD_DEPENDS="gtk+-dev"


# What is the latest version available today?
current_version()
{
    wget -O - https://de.wikipedia.org/wiki/GAdmintools 2>/dev/null | \
    sed '/GAdmin-ProFTPD:/!d;s|.*sion: ||;s| .*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/applications
    cp -a $install/etc $fs
    cp -a $install/usr/sbin $fs/usr
    cp -a $install/usr/share/pixmaps $fs/usr/share
    cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)