wok-current view kompozer/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 917b747d9625 |
children | 82d54eca72be |
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 pangox-compat-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/kompozer/files/current/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/current/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 grep -l 'uname -m' * | xargs sed -i 's|uname -m|echo i686|'
31 echo ac_add_options --enable-application=composer > .mozconfig
32 cp -a security/coreconf/Linux2.6.mk security/coreconf/Linux3.16.mk
34 {
35 ./configure \
36 --with-system-nspr \
37 --prefix=/usr \
38 --disable-glibtest \
39 --disable-libIDLtest \
40 --disable-updater \
41 --disable-tests \
42 --enable-system-cairo \
43 --enable-installer &&
44 make -j 1 &&
45 make install DESTDIR=$DESTDIR
46 } 2>&1 | sed "s|build_number': No such|build_number': no such|"
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/lib/kompozer $fs/usr/lib
56 }