SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-xedit"

# SliTaz package receipt.

PACKAGE="xorg-xedit"
VERSION="1.2.2"
CATEGORY="x-window"
TAGS="text-editor"
SHORT_DESC="Simple text editor for X."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://www.x.org/wiki/"

SOURCE="xedit"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/app/$TARBALL"

DEPENDS="xorg-libX11 xorg-libXaw xorg-libXmu xorg-libXt"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --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/etc
    mkdir -p $fs/usr/lib

    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/lib/X11    $fs/usr/lib
    cp -a $install/etc        $fs

    chmod +x $fs/usr/bin/*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)