From 83eddf4297b81e207c78a4c4f74fbd247f4fda44 Mon Sep 17 00:00:00 2001 From: pst Date: Fri, 6 Jan 1995 09:56:43 +0000 Subject: GSM <-> other audio encoding conversion package (required for nevot) --- audio/gsm/Makefile | 14 ++++++++++++++ audio/gsm/distinfo | 1 + audio/gsm/files/patch-aa | 21 +++++++++++++++++++++ audio/gsm/files/patch-ab | 36 ++++++++++++++++++++++++++++++++++++ audio/gsm/pkg-comment | 1 + audio/gsm/pkg-descr | 2 ++ audio/gsm/pkg-plist | 13 +++++++++++++ 7 files changed, 88 insertions(+) create mode 100644 audio/gsm/Makefile create mode 100644 audio/gsm/distinfo create mode 100644 audio/gsm/files/patch-aa create mode 100644 audio/gsm/files/patch-ab create mode 100644 audio/gsm/pkg-comment create mode 100644 audio/gsm/pkg-descr create mode 100644 audio/gsm/pkg-plist diff --git a/audio/gsm/Makefile b/audio/gsm/Makefile new file mode 100644 index 0000000..8480a69 --- /dev/null +++ b/audio/gsm/Makefile @@ -0,0 +1,14 @@ +# Makefile for: gsm +# Version required: gsm-1.0.4 +# Date created: 5 January 1995 +# Whom: pst +# +# $Id$ +# + +DISTNAME= gsm-1.0.4 +EXTRACT_SUFX= .tar.Z +MASTER_SITES= ftp://gaia.cs.umass.edu/pub/hgschulz/nevot/ +WRKSRC= ${WRKDIR}/gsm-1.0-pl4 + +.include diff --git a/audio/gsm/distinfo b/audio/gsm/distinfo new file mode 100644 index 0000000..97a54c6 --- /dev/null +++ b/audio/gsm/distinfo @@ -0,0 +1 @@ +MD5 (gsm-1.0.4.tar.Z) = cd51db18bcc1ff09814b8055b720cd31 diff --git a/audio/gsm/files/patch-aa b/audio/gsm/files/patch-aa new file mode 100644 index 0000000..244eb8e --- /dev/null +++ b/audio/gsm/files/patch-aa @@ -0,0 +1,21 @@ +*** inc/config.h Fri Jan 6 01:35:41 1995 +--- inc/config.h Fri Jan 6 01:35:51 1995 +*************** +*** 25,32 **** + /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ + + #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ +! #define HAS_UTIME 1 /* POSIX utime(path, times) */ +! /*efine HAS_UTIMES 1 /* use utimes() syscall instead */ + #define HAS_UTIME_H 1 /* UTIME header file */ + /*efine HAS_UTIMBUF 1 /* struct utimbuf */ + /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ +--- 25,32 ---- + /*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ + + #define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ +! /*efine HAS_UTIME 1 /* POSIX utime(path, times) */ +! #define HAS_UTIMES 1 /* use utimes() syscall instead */ + #define HAS_UTIME_H 1 /* UTIME header file */ + /*efine HAS_UTIMBUF 1 /* struct utimbuf */ + /*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ diff --git a/audio/gsm/files/patch-ab b/audio/gsm/files/patch-ab new file mode 100644 index 0000000..cc8ae99 --- /dev/null +++ b/audio/gsm/files/patch-ab @@ -0,0 +1,36 @@ +*** Makefile Tue May 10 14:39:31 1994 +--- Makefile Fri Jan 6 01:42:47 1995 +*************** +*** 60,66 **** + # Leave INSTALL_ROOT empty (or just don't execute "make install") to + # not install gsm and toast outside of this directory. + +! INSTALL_ROOT = + + # Where do you want to install the gsm library, header file, and manpages? + # +--- 60,66 ---- + # Leave INSTALL_ROOT empty (or just don't execute "make install") to + # not install gsm and toast outside of this directory. + +! INSTALL_ROOT = ${PREFIX} + + # Where do you want to install the gsm library, header file, and manpages? + # +*************** +*** 69,75 **** + + GSM_INSTALL_ROOT = $(INSTALL_ROOT) + GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib +! GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc + GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 + + +--- 69,75 ---- + + GSM_INSTALL_ROOT = $(INSTALL_ROOT) + GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib +! GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include + GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 + + diff --git a/audio/gsm/pkg-comment b/audio/gsm/pkg-comment new file mode 100644 index 0000000..e5e71b18 --- /dev/null +++ b/audio/gsm/pkg-comment @@ -0,0 +1 @@ +gsm - audio converter and library for converting u-law to gsm encoding diff --git a/audio/gsm/pkg-descr b/audio/gsm/pkg-descr new file mode 100644 index 0000000..1436934 --- /dev/null +++ b/audio/gsm/pkg-descr @@ -0,0 +1,2 @@ +gsm is a conversion package and library for converting u-law audio to +gsm encoding (which is much more efficient) and back again. diff --git a/audio/gsm/pkg-plist b/audio/gsm/pkg-plist new file mode 100644 index 0000000..4a21842 --- /dev/null +++ b/audio/gsm/pkg-plist @@ -0,0 +1,13 @@ +@cwd /usr/local +bin/toast +@exec ln -s %f %B/untoast +@exec ln -s %f %B/untoastt +man/man1/toast.1 +@exec ln -s %f %B/untoast.1 +@exec ln -s %f %B/tcat.1 +man/man3/gsm.3 +man/man3/gsm_explode.3 +man/man3/gsm_option.3 +man/man3/gsm_print.3 +lib/libgsm.a +include/gsm.h -- cgit v1.1