Ajout guitartex
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 3 Sep 2011 00:05:54 +0000 (00:05 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 3 Sep 2011 00:05:54 +0000 (00:05 +0000)
config/packages-list
stage5/pkg/guitartex [new file with mode: 0644]

index f1d5b31..73ac9e2 100644 (file)
@@ -35,6 +35,7 @@ CAIROMM="cairomm-1.10.0"
 CDRTOOLS="cdrtools-2.01"
 CDRDAO="cdrdao-1.2.2"
 CKERMIT="ckermit-8.0.211"
+CHORDPACK="chordpack-0.8.2"
 CLAMAV="clamav-0.93.3"
 CLOOG_PPL="cloog-ppl-0.15.10"
 CONSOLEKIT="ConsoleKit-0.4.1"
@@ -115,6 +116,7 @@ GHOSTSCRIPT_FONTS_STD="ghostscript-fonts-std-8.11"
 GHOSTSCRIPT_FONTS_OTHER="ghostscript-fonts-other-6.0"
 GNASH=" gnash-0.8.9"
 GIMP="gimp-2.6.11"
+GUITARTEX="guitartex-hv-r119"
 GUTENPRINT="gutenprint-5.2.5"
 GLIB="glib-2.28.7"
 GLIBMM="glibmm-2.28.1"
diff --git a/stage5/pkg/guitartex b/stage5/pkg/guitartex
new file mode 100644 (file)
index 0000000..0095323
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+hvbuild()
+{
+    echo "guitartex necessitates no compilation."
+}
+
+hvbuild_post()
+{
+    cd ${LFS_TMP}/${PACKAGE}
+
+    install -v -m755 -d /usr/share/texmf-local/gchords-guitartex
+    install -v -m644 gchords/gchords.sty /usr/share/texmf-local/gchords-guitartex
+
+    # Update ls-R database
+    mktexlsr
+
+    # Install configuration file
+    install -v -m644 guitartex.conf /etc/skel/.guitartexrc
+
+    # Install program
+    install -v -m755 gtx2tex.pl /usr/local/bin/gtx2tex
+
+    # Install support files
+    install -v -m755 -d /usr/local/lib/guitartex/language
+    install -v -m644 language/* /usr/local/lib/guitartex/language
+}