wok-current view cssed/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (8 weeks ago)
parents 9af0e03b8ad0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cssed"
4 VERSION="0.4.0"
5 CATEGORY="development"
6 SHORT_DESC="CSS editor for web developers"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://cssed.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="gtk+-dev libxml2-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/cssed/files/cssed/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/cssed/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
28 ./configure $CONFIGURE_ARGS &&
29 sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 }