wok-current annotate xorg-xedit/receipt @ rev 25687
Up expat CVE-2024-28757
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 15 07:23:20 2024 +0000 (5 months ago) |
parents | ff6ccb1497d0 |
children |
rev | line source |
---|---|
pascal@11203 | 1 # SliTaz package receipt. |
pascal@11203 | 2 |
pascal@11203 | 3 PACKAGE="xorg-xedit" |
Hans-G?nter@22255 | 4 VERSION="1.2.2" |
pascal@11203 | 5 CATEGORY="x-window" |
Hans-G?nter@22255 | 6 TAGS="text-editor" |
pascal@11203 | 7 SHORT_DESC="Simple text editor for X." |
pascal@11203 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22255 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22255 | 11 |
pascal@11203 | 12 SOURCE="xedit" |
pascal@11203 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22255 | 14 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pascal@15101 | 15 |
Hans-G?nter@22255 | 16 DEPENDS="xorg-libX11 xorg-libXaw xorg-libXmu xorg-libXt" |
pascal@11203 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pascal@11203 | 24 # Rules to configure and make the package. |
pascal@11203 | 25 compile_rules() |
pascal@11203 | 26 { |
Hans-G?nter@22255 | 27 ./configure \ |
Hans-G?nter@22255 | 28 --prefix=/usr \ |
Hans-G?nter@22255 | 29 --mandir=/usr/share/man \ |
pascal@11203 | 30 $CONFIGURE_ARGS && |
pascal@11203 | 31 make && |
pascal@11203 | 32 make DESTDIR=$DESTDIR install |
pascal@11203 | 33 } |
pascal@11203 | 34 |
pascal@11203 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11203 | 36 genpkg_rules() |
pascal@11203 | 37 { |
Hans-G?nter@22255 | 38 mkdir -p $fs/etc |
Hans-G?nter@22255 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22255 | 40 |
Hans-G?nter@22255 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22255 | 42 cp -a $install/usr/lib/X11 $fs/usr/lib |
Hans-G?nter@22255 | 43 cp -a $install/etc $fs |
Hans-G?nter@22255 | 44 |
pascal@11203 | 45 chmod +x $fs/usr/bin/* |
pascal@11203 | 46 } |