# SliTaz package receipt. PACKAGE="xorg-xedit" VERSION="1.2.0" CATEGORY="x-window" SHORT_DESC="Simple text editor for X." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="xedit" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://xorg.freedesktop.org/" WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" DEPENDS="xorg-libXaw xorg-libXt xorg-libXmu xorg-libX11" # Rules to configure and make the package. compile_rules() { cd $src ./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/usr/share $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib/X11 $fs/usr/lib cp -a $_pkg/usr/share/X11 $fs/usr/share chmod +x $fs/usr/bin/* }