aboutsummaryrefslogtreecommitdiff
path: root/dev/libs/stfl
diff options
context:
space:
mode:
Diffstat (limited to 'dev/libs/stfl')
-rw-r--r--dev/libs/stfl/Manifest24
-rw-r--r--dev/libs/stfl/stfl-0.21.diff24
-rw-r--r--dev/libs/stfl/stfl.mkbuild191
3 files changed, 239 insertions, 0 deletions
diff --git a/dev/libs/stfl/Manifest b/dev/libs/stfl/Manifest
new file mode 100644
index 0000000..0055199
--- /dev/null
+++ b/dev/libs/stfl/Manifest
@@ -0,0 +1,24 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST stfl-0.21.tar.gz 41093 MD5 888502c3f332a0ee66e490690d79d404 RMD160 d8b56cc97b4d76adba8034ce9bbae631e6e9d17e SHA1 0313eafa1fe4dcfea1f2edd34d453baaa46df277 SHA256 bf0ead0a66b635602222bc9089414b99f99081b956c92baf77699d283bcc88eb SHA512 c8c2f3ce11259abad66e772c78b7e50fef2cb465807826542250626fef36ec798f7173d63a5647142bddf9feb9afaf2ea2871b0aa6732344b27e538db6fe5b2d
+MKBUILD stfl.mkbuild 5045 MD5 239030bc8bc48e0604955899b866d8f7 RMD160 816462174dc7323ca4704f2561c626bfc2bceeca SHA1 5fb9d46524818dbb3d843ab026f7dcc2d3ec3b0c SHA256 a222986d42f73cd5bd0604bf1d6f4ed3ea3eb8e9e700f6b6dc69af2b71ac59cc SHA512 6161c0f441dad899fa025303a21aa2980a8b93d79000b24dc0d208a2e64ea6fd4f7a37620b5a80569acffb952714fb290a234f27dc8406b37193c0269be0f5c0
+PATCH stfl-0.21.diff 1055 MD5 428bac68230c2f48b7379843b7fb6e7e RMD160 400ec767b14bbdfe79252eb183042e783944f18d SHA1 819333e501d6cc11441093db7169cb8c323e3d4e SHA256 4ac7cc4b98e72850f477a2473ec922b5f03b6875af1430709eb63ba4fbea86d1 SHA512 0441b9bad60af484a18576970c8cf377f7023e55847810f17a2fa537cbb8faa816ceb597bb5e1ab3612928ee2eeaf31049954e34be4c4e2399536305dad24ad6
+SLACKBUILD stfl.SlackBuild 7803 MD5 327f97318da473ddbc001865506532e5 RMD160 b2354d55143c5392f3d39180f7eb2ab13ee361cc SHA1 0553023456f850a41249f13f3897c1ca9af0402d SHA256 63f8ee6fcad4233e48e92c0ea3edd9f8ac7975990d7ea183f6c6688b4e61024a SHA512 5be32237b64704c71a9a92a68783645848c2fab825c81312b3084ce950e6d824c515218f8f88da54fcba5a1d482de981e21079f68ce7f6fe56082906640b1c79
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (GNU/Linux)
+
+iQIcBAEBCAAGBQJKZKASAAoJEEHL93ESzgeirn8QALmu+XKBoISXvDH7o3muSilO
+URv7lnMLPYYuxn/5Y4kgNnh7/TNMwtwzPc+y/R9qfqN4IfZVQvsCeHL0vyUH47MG
+pOEA2Ex14QtOgAJ7yzTQRJxcSDlV9fXzPWxf4+y/dTUNA1msR81yE1wwGR9v41ak
++fuuh47PNaBURHtmtAU4RIX9gF8NUkdHvGZ1tC5zIvW9WEpEa7IUhWKNm63B4FOT
+Bz2MMdCVlCiWWGWk05SGnX0ldmr5EVgy5tyXbWEVu4AYahVINv2Vj7iNprh+4lSH
+jCj2zznIwfdfk28UBpaC0J6676xkEYNMH19AosBJpmD1GVG0VCjZGeDCHywfWSt7
+uuLZN0ToRPK306d/Z+rTukvrddijwsdvHuEIDo501BvnQKafUzApP52JHLYaYvT0
+tAvJYZml+4V39zZVcBdBpw6jk6gbRoibxPIHDHM4BuhtM6MOIAa0YStKGPmawiEV
+SyTRA5pTZcPlVcDLEFdPiLQpUGUfBxC40UD+hsbw/hz11iVwlCoSghMvlGDK4/KY
+mNxv4oIrJXAg9nsNndvE3nWdKh/HEj1oXkYsJ180F3BZV4SA7MHmqMLg+RC1f0PB
+nF55iZZBhhh0TBKcAvmkFo7BpP6LZd0daKeWOF7xeLDWIT2FnQoRw3QLN+xZPcIe
+hmYda15EsZsUW0q1O285
+=QQA2
+-----END PGP SIGNATURE-----
diff --git a/dev/libs/stfl/stfl-0.21.diff b/dev/libs/stfl/stfl-0.21.diff
new file mode 100644
index 0000000..f549de8
--- /dev/null
+++ b/dev/libs/stfl/stfl-0.21.diff
@@ -0,0 +1,24 @@
+diff -Naur stfl-0.21.orig/Makefile stfl-0.21/Makefile
+--- stfl-0.21.orig/Makefile 2009-06-19 14:30:52.000000000 -0300
++++ stfl-0.21/Makefile 2009-07-20 13:13:43.000000000 -0300
+@@ -22,7 +22,7 @@
+
+ export CC = gcc -pthread
+ export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
+-export LDLIBS += -lncursesw
++export LDLIBS += -lncursesw -liconv
+
+ SONAME := libstfl.so.0
+ VERSION := 0.21
+diff -Naur stfl-0.21.orig/python/Makefile.snippet stfl-0.21/python/Makefile.snippet
+--- stfl-0.21.orig/python/Makefile.snippet 2009-06-18 05:27:16.000000000 -0300
++++ stfl-0.21/python/Makefile.snippet 2009-07-20 13:14:02.000000000 -0300
+@@ -27,7 +27,7 @@
+
+ python/_stfl.so python/stfl.py python/stfl.pyc: libstfl.a stfl.h python/stfl.i swig/*.i
+ cd python && swig -python -threads stfl.i
+- gcc -shared -pthread -fPIC python/stfl_wrap.c -I/usr/include/python$(PYTHON_VERSION) \
++ gcc -shared -pthread -fPIC -liconv python/stfl_wrap.c -I/usr/include/python$(PYTHON_VERSION) \
+ -I. libstfl.a -lncursesw -o python/_stfl.so
+ cd python && python -c 'import stfl'
+
diff --git a/dev/libs/stfl/stfl.mkbuild b/dev/libs/stfl/stfl.mkbuild
new file mode 100644
index 0000000..f400a5a
--- /dev/null
+++ b/dev/libs/stfl/stfl.mkbuild
@@ -0,0 +1,191 @@
+#
+# This mkbuild is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or any later version.
+#
+# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place - Suite 330, Boston, MA 02111-1307, USA
+#
+# Version 0.9.0 - Alves ( rudsonalves at yahoo d0t com d0t br )
+# Version $Rev: 803 $ - $Author: rhatto $
+
+#--------------------
+# Personal variables
+#--------------------
+# Author name
+[[SLACKBUILD AUTHOR]]="Silvio Rhatto"
+
+# Initials author name
+[[SLACKBUILD AUTHOR INITIALS]]="rha"
+
+#------------------------
+# Construction Variables
+#------------------------
+#
+# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... )
+[[DOWNLOAD FOLDER URL]]="http://www.clifford.at/stfl/stfl-0.21.tar.gz"
+
+# Source base name. if different from package name. Null ("") to default value.
+# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[SOURCE NAME]]=""
+
+# Package name. Null ("") to auto-set
+# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[PACKAGE NAME]]=""
+
+#
+# Package default ARCH
+# Default set is i486
+[[ARCH]]=""
+
+#
+# Package version. Null ("") to auto-set.
+# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[VERSION]]=""
+
+#
+# Package extension. Null ("") to auto-set
+# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[EXTENSION]]=""
+
+#
+# Build number.
+# Auto-set to default 1
+[[BUILD NUMBER]]=""
+
+#
+# Source Name construction string
+# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION
+[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION"
+
+#
+# Unpacker programa ("") to auto-set. Default "tar"
+# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf"
+[[UNPACKER]]=""
+[[UNPACKER FLAGS]]=""
+
+#
+# Dependency list input
+# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]"
+# Example:
+[[SLACK REQUIRED]]=""
+
+#
+# Decompress program
+# gz, tgz, bz2, set null ("") to auto-set
+# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION'
+[[DECOMPRESSOR]]=""
+
+#
+# Decompress check flag
+# gz, tgz, bz2, set null ("") to auto-set
+[[DECOMPRESSOR TEST FLAG]]=""
+
+#
+# Documentation files. Null ("") to auto-set commom doc-files:
+# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.*
+[[DOCUMENTATION FILES]]="COPYING README"
+
+#
+# ./configure options
+[[OTHER CONFIGURE ARGS]]=""
+
+#
+# PREFIX. Default /usr
+[[PREFIX]]="/usr"
+
+#
+# Number of jobs
+[[NUMBER OF JOBS]]=""
+
+#---------------------
+# Others changes
+#---------------------
+#[[MD5SUM CODE]]=""
+#[[MD5SUM EXTENSION]]=""
+#[[SIGNING KEY]]=""
+#[[SIGNING KEY URL]]=""
+#[[SIGNING KEY ID]]=""
+#[[SIGNING URL]]=""
+#[[CONFIG FILES]]=""
+#[[PATCH URLS]]=""
+#[[REST OF DOINST.SH]]=""
+[[PATCH FILES]]=""
+[[NUMBER OF PREFIX SLASHES TO STRIP]]="1"
+
+# SlackBuild model
+[[SLACKBUILD MODEL]]="generic.mkSlackBuild"
+
+# SlackBuild PATH in Slack.Sarava tree
+#[[SLACKBUILD PATH]]="dev/libs/stfl"
+[[SLACKBUILD PATH]]="dev/libs/stfl"
+
+#---------------------
+# SlackBuild Sections
+#---------------------
+# Default sections:
+# head, set_variables, slkflags, start_structure, untar_source,
+# make_package, install_package, build_package
+# Warning: don't remove '#>>' and "#<<" tags.
+#>> Start SlackBuild Sections:
+ on: head
+ on: slackbuildrc
+ on: set_variables
+ on: slkflags
+ on: error_codes
+ on: start_structure
+off: create_build_user_and_group
+ on: download_source
+off: download_patches
+off: svn_source
+off: git_source
+off: md5sum_download_and_check_0
+off: md5sum_download_and_check_1
+off: gpg_signature_check
+ on: manifest_check
+ on: untar_source
+ on: patch_source
+ on: configure
+ on: make_package
+ on: install_package
+ on: strip_binaries
+off: compress_manpages
+off: compress_info_files
+off: copy_init_scripts
+off: copy_config_files
+ on: install_documentation
+ on: slackdesc
+off: move_config_files
+off: postinstall_script
+off: slack_required
+ on: build_package
+ on: clean_builds
+#<< End SlackBuild Sections
+
+#------------------
+# Sections changes
+#------------------
+#>slackdesc
+stfl: stfl
+stfl:
+stfl: STFL is a library which implements a curses-based
+stfl: widget set for text terminals. The STFL API can
+stfl: be used from C, SPL, Python, Perl and Ruby.
+stfl:
+stfl:
+stfl:
+stfl:
+stfl:
+stfl:
+#<slackdesc
+
+#>configure
+# Configure
+sed -i -e "s:export prefix ?= /usr/local:export prefix ?= /usr/:" \
+ -e "s:export DESTDIR ?= /:export DESTDIR ?= $PKG/:" Makefile.cfg || exit $ERROR_CONF
+#<configure