wok-current rev 24464
created recipes for dargui and dargui-lang
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 11:06:13 2022 +0100 (2022-02-17) |
parents | c6f002071d21 |
children | 535c806240cc |
files | dargui-lang/receipt dargui/description.txt dargui/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dargui-lang/receipt Thu Feb 17 11:06:13 2022 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dargui-lang" 1.7 +VERSION="1.0" 1.8 +CATEGORY="localization" 1.9 +TAGS="backup gui" 1.10 +SHORT_DESC="Graphical frontend for dar - localised messages." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="GPL" 1.13 +WEB_SITE="https://dargui.sourceforge.net" 1.14 + 1.15 +WANTED="dargui" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + cook_copy_folders locale 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/dargui/description.txt Thu Feb 17 11:06:13 2022 +0100 2.3 @@ -0,0 +1,4 @@ 2.4 +DarGUI is a front end to the Disk ARchive (Dar) program. 2.5 +It provides a simple way to create and restore backup archives 2.6 +in Dar format. 2.7 +DarGUI is written in Pascal using FreePascal and the Lazarus IDE.
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/dargui/receipt Thu Feb 17 11:06:13 2022 +0100 3.3 @@ -0,0 +1,42 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="dargui" 3.7 +VERSION="1.0" # last 32 bit version 3.8 +CATEGORY="system-tools" 3.9 +TAGS="backup gui" 3.10 +SHORT_DESC="Graphical frontend for dar." 3.11 +MAINTAINER="maintainer@slitaz.org" 3.12 +LICENSE="GPL" 3.13 +WEB_SITE="https://dargui.sourceforge.net" 3.14 + 3.15 +TARBALL="$PACKAGE-$VERSION-32bit.tar.gz" 3.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 3.17 + 3.18 +SUGGESTED="dargui-lang" 3.19 +DEPENDS="at bash dar gtk+ xterm" 3.20 +BUILD_DEPENDS="gettext-tools" 3.21 + 3.22 +# Rules to configure and make the package. 3.23 +compile_rules() 3.24 +{ 3.25 + mkdir -p $install/usr/share/locale 3.26 + for pofile in $src/locales/*.po 3.27 + do 3.28 + lang=${pofile%.*} # remove suffix 3.29 + lang=${lang##*.} # remove prefix 3.30 + mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES 3.31 + msgfmt $pofile -o $install/usr/share/locale/$lang/LC_MESSAGES/$(basename ${pofile%.*.po}).mo 3.32 + done 3.33 +} 3.34 + 3.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.36 +genpkg_rules() 3.37 +{ 3.38 + mkdir -p $fs/usr/bin 3.39 + mkdir -p $fs/usr/share/dargui 3.40 + 3.41 + cp -a $src/dargui $fs/usr/bin 3.42 + cp -a $src/scripts/* $fs/usr/share/dargui 3.43 + cp -a $src/applications $fs/usr/share 3.44 + cp -a $src/pixmaps $fs/usr/share 3.45 +}