wok-next diff xorg-xedit/receipt @ rev 19872

Up palemoon (27.5.0)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Sep 27 20:45:12 2017 +0200 (2017-09-27)
parents 5d53e8ccbc8d
children 757d032c55c7
line diff
     1.1 --- a/xorg-xedit/receipt	Thu Jan 08 02:04:05 2015 +0200
     1.2 +++ b/xorg-xedit/receipt	Wed Sep 27 20:45:12 2017 +0200
     1.3 @@ -1,38 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xorg-xedit"
     1.8  VERSION="1.2.0"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Simple text editor for X."
    1.11 +SHORT_DESC="Simple text editor for X"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SOURCE="xedit"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://xorg.freedesktop.org/"
    1.17 -WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
    1.18 -TAGS="text-editor"
    1.19 +WEB_SITE="https://www.x.org/wiki/"
    1.20  
    1.21 -DEPENDS="xorg-libXaw xorg-libXt xorg-libXmu xorg-libX11"
    1.22 +TARBALL="xedit-$VERSION.tar.bz2"
    1.23 +WGET_URL="$XORG_MIRROR/app/$TARBALL"
    1.24 +
    1.25 +BUILD_DEPENDS="xorg-util-macros xorg-libXaw-dev xorg-libXmu-dev xorg-libXt-dev \
    1.26 +xorg-libX11-dev"
    1.27 +PKG_RULE="std"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	cd $src
    1.33  	./configure \
    1.34 -		--prefix=/usr \
    1.35 -		--mandir=/usr/share/man \
    1.36 +		--sysconfdir=/etc \
    1.37 +		--localstatedir=/var \
    1.38  		$CONFIGURE_ARGS &&
    1.39  	make &&
    1.40 -	make DESTDIR=$DESTDIR install
    1.41 +	make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/etc $fs/usr/lib
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/lib/X11 $fs/usr/lib
    1.50 -	cp -a $install/etc $fs
    1.51 -	chmod +x $fs/usr/bin/*
    1.52 +	copy @std
    1.53 +	DEPENDS="xorg-libX11 xorg-libXaw xorg-libXmu xorg-libXt"
    1.54 +	CONFIG_FILES="/etc/X11/app-defaults/Xedit /etc/X11/app-defaults/Xedit-color"
    1.55 +	TAGS="text-editor"
    1.56  }
    1.57 -