wok-next annotate mrxvt/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents b5dc60e4f3bf
children d5aab818505e
rev   line source
pankso@187 1 # SliTaz package receipt.
pankso@187 2
pankso@187 3 PACKAGE="mrxvt"
psychomaniak@19955 4 VERSION="0.5.4"
pankso@187 5 CATEGORY="utilities"
pankso@187 6 SHORT_DESC="Terminal emulator with muli-tabs support."
pankso@187 7 MAINTAINER="pankso@slitaz.org"
pascal@15583 8 LICENSE="GPL2"
pascal@19956 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15583 10 WEB_SITE="http://materm.sourceforge.net/"
pascal@15583 11 WGET_URL="$SF_MIRROR/materm/$TARBALL"
al@17501 12 TAGS="terminal"
pascal@15583 13
al@20454 14 DEPENDS="libpng16 jpeg freetype expat fontconfig xorg-libICE xorg-libSM \
pascal@2464 15 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXft xorg-libXpm xorg-libXrender \
pascal@2464 16 zlib"
al@20454 17 BUILD_DEPENDS="xorg-dev libpng16-dev jpeg-dev freetype-dev"
pankso@187 18
pankso@187 19 # Rules to configure and make the package.
pankso@187 20 compile_rules()
pankso@187 21 {
psychomaniak@19955 22 ./bootstrap.sh
pankso@187 23 ./configure \
pankso@187 24 --prefix=/usr \
pankso@187 25 --infodir=/usr/share/info \
pankso@187 26 --mandir=/usr/share/man \
pankso@187 27 --enable-xft \
pankso@187 28 --enable-menubar \
pascal@1516 29 $CONFIGURE_ARGS &&
pascal@1516 30 make &&
pascal@15583 31 make DESTDIR=$DESTDIR install
pankso@187 32 }
pankso@187 33
pankso@187 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@187 35 genpkg_rules()
pankso@187 36 {
pankso@187 37 mkdir -p $fs/usr
pascal@15583 38 cp -a $install/usr/bin $fs/usr
pankso@187 39 }