wok annotate dillo/receipt @ rev 21194
systemd: corrected build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 05 17:53:25 2019 +0100 (2019-04-05) |
parents | acb8ffc53deb |
children | 5520f22a2647 |
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" |
pascal@20669 | 10 WEB_SITE="https://www.dillo.org/" |
pascal@20669 | 11 WGET_URL="https://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 { |
pascal@19446 | 21 patch -p0 < $stuff/fltk-1.3.3.u |
pankso@16375 | 22 cp -f $stuff/pixmaps.slitaz.h src/pixmaps.h && |
pankso@2795 | 23 ./configure \ |
pankso@3819 | 24 --sysconfdir=/etc \ |
pankso@2795 | 25 --prefix=/usr \ |
pankso@15747 | 26 --enable-ssl \ |
pankso@2795 | 27 $CONFIGURE_ARGS && |
pankso@16359 | 28 make && make install |
pankso@2795 | 29 } |
pankso@2795 | 30 |
pankso@2795 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2795 | 32 genpkg_rules() |
pankso@2795 | 33 { |
pankso@16375 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14999 | 35 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 36 cp -a $install/usr/lib/dillo $fs/usr/lib |
pankso@2795 | 37 strip -s $fs/usr/lib/dillo/dpi/*/* |
pankso@2795 | 38 chmod +x $fs/usr/bin/* |
pankso@16449 | 39 # Config files with custom dillorc to have webhome |
pascal@14999 | 40 cp -a $install/etc $fs |
samuel_trassare@11764 | 41 cp -a $stuff/dillorc $fs/etc/dillo |
pankso@16375 | 42 cp -a $stuff/webhome $fs/usr/share |
pankso@16449 | 43 # Dillo version for user agent string |
pankso@16449 | 44 sed -i s"/_dillo_version_/$VERSION/" $fs/etc/dillo/dillorc |
pankso@2795 | 45 chown -R root.root $fs |
pankso@2795 | 46 } |