wok view kompozer/receipt @ rev 24413

created recipe for kompozer (thanks gibor)
author Hans-G?nter Theisgen
date Thu Feb 10 07:54:25 2022 +0100 (2022-02-10)
parents
children 3abeffdae80b
line source
1 # SliTaz package receipt.
3 PACKAGE="kompozer"
4 VERSION="0.8b3"
5 CATEGORY="network"
6 SHORT_DESC="KompoZer is a complete web authoring system."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="http://kompozer.net"
11 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ libxml2"
15 BUILD_DEPENDS="coreutils findutils gtk+-dev gtk-girepository libIDL
16 libXaw3dXft-dev libxml2-dev nspr-dev pango-dev pkg-config
17 perl xorg-libXft-dev zip"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 echo ac_add_options --enable-application=composer > .mozconfig
23 cp -a security/coreconf/Linux2.6.mk security/coreconf/Linux3.16.mk
25 {
26 ./configure \
27 --with-system-nspr \
28 --prefix=/usr \
29 --disable-glibtest \
30 --disable-libIDLtest \
31 --disable-updater \
32 --disable-tests \
33 --enable-system-cairo \
34 --enable-installer &&
35 make -j 1 &&
36 make install DESTDIR=$DESTDIR
37 } 2>&1 | sed "s|build_number': No such|build_number': no such|"
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/kompozer $fs/usr/lib
47 }