wok-next view sakura/receipt @ rev 19304
syslinux: no binaries in CONFIG_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 10 11:46:12 2016 +0200 (2016-07-10) |
parents | 6775c03ff541 |
children | 0ed344a8daed |
line source
1 # SliTaz package receipt
3 PACKAGE="sakura"
4 VERSION="2.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="A simple but powerful libvte-based terminal emulator"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.pleyades.net/david/projects/sakura"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://launchpad.net/sakura/trunk/$VERSION/+download/$TARBALL"
12 TAGS="terminal"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+ vte xorg-libXdamage xorg-libXi"
16 BUILD_DEPENDS="gtk+-dev vte-dev xorg-libXdamage-dev xorg-libXi-dev"
18 # Handle cross compilation.
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -p1 -i $stuff/sakura-icon.patch
27 patch -p1 -i $stuff/ru.po.patch
28 patch -p1 -i $stuff/fr.po.patch
30 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . &&
31 sed -i 's/$/ -lncurses/' CMakeFiles/sakura.dir/link.txt &&
32 sed -i 's/-u//' CMakeLists.txt &&
33 sed -i 's/-u//' CMakeFiles/man.dir/build.make &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 cp -f $stuff/sakura.desktop $install/usr/share/applications
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }