# SliTaz package receipt. PACKAGE="lxrandr" VERSION="0.1.2" CATEGORY="utilities" SHORT_DESC="LXDE screen manager." MAINTAINER="gokhlayeh@slitaz.org" DEPENDS="gtk+ xorg-xrandr" BUILD_DEPENDS="gtk+-dev intltool xorg-libXrandr-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://lxde.org" WGET_URL="$SF_MIRROR/lxde/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src #Fix sources. echo "Icon=video-display" >> data/lxrandr.desktop.in touch po/stamp-it ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share $fs/usr # Remove man & locales rm -rf $fs/usr/share/man rm -rf $fs/usr/share/locale }