wok view xorg-xedit/receipt @ rev 24997

updated ninvaders (0.1.1 -> 0.1.2)
author Hans-G?nter Theisgen
date Mon May 16 11:04:31 2022 +0100 (2022-05-16)
parents ff6ccb1497d0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xedit"
4 VERSION="1.2.2"
5 CATEGORY="x-window"
6 TAGS="text-editor"
7 SHORT_DESC="Simple text editor for X."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xedit"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/app/$TARBALL"
16 DEPENDS="xorg-libX11 xorg-libXaw xorg-libXmu xorg-libXt"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/etc
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/X11 $fs/usr/lib
43 cp -a $install/etc $fs
45 chmod +x $fs/usr/bin/*
46 }