wok annotate dillo/receipt @ rev 19254

Up cookutils (803)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 02 23:48:55 2016 +0300 (2016-07-02)
parents 95324ca5396c
children acb8ffc53deb
rev   line source
pankso@2795 1 # SliTaz package receipt.
pankso@2795 2
pankso@2795 3 PACKAGE="dillo"
pankso@16336 4 VERSION="3.0.4"
pankso@2795 5 CATEGORY="network"
pankso@2795 6 SHORT_DESC="Light and fast web browse using FLTK."
pankso@2795 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pankso@2795 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@2795 10 WEB_SITE="http://www.dillo.org/"
pankso@2795 11 WGET_URL="http://www.dillo.org/download/$TARBALL"
al@17501 12 TAGS="web-browser"
pankso@16359 13 HOST_ARCH="i486 arm"
pascal@14999 14
pankso@15747 15 DEPENDS="fltk libpng jpeg zlib openssl xorg-libX11 gcc-lib-base"
pankso@16359 16 BUILD_DEPENDS="fltk-dev libpng-dev jpeg-dev zlib-dev openssl-dev"
pankso@2795 17
pankso@2795 18 # Rules to configure and make the package.
pankso@2795 19 compile_rules()
pankso@2795 20 {
pankso@16375 21 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h &&
pankso@2795 22 ./configure \
pankso@3819 23 --sysconfdir=/etc \
pankso@2795 24 --prefix=/usr \
pankso@15747 25 --enable-ssl \
pankso@2795 26 $CONFIGURE_ARGS &&
pankso@16359 27 make && make install
pankso@2795 28 }
pankso@2795 29
pankso@2795 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2795 31 genpkg_rules()
pankso@2795 32 {
pankso@16375 33 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14999 34 cp -a $install/usr/bin $fs/usr
pascal@14999 35 cp -a $install/usr/lib/dillo $fs/usr/lib
pankso@2795 36 strip -s $fs/usr/lib/dillo/dpi/*/*
pankso@2795 37 chmod +x $fs/usr/bin/*
pankso@16449 38 # Config files with custom dillorc to have webhome
pascal@14999 39 cp -a $install/etc $fs
samuel_trassare@11764 40 cp -a $stuff/dillorc $fs/etc/dillo
pankso@16375 41 cp -a $stuff/webhome $fs/usr/share
pankso@16449 42 # Dillo version for user agent string
pankso@16449 43 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc
pankso@2795 44 chown -R root.root $fs
pankso@2795 45 }