diff options
author | Will Andrews <will@FreeBSD.org> | 2001-12-19 09:06:57 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-12-19 09:06:57 +0000 |
commit | b532d1c416f33ddd862e3ed1037c5fa339a54f8b (patch) | |
tree | cfa932df0432dfa1dc0f467e78d6db639ce5b667 /audio/adpcm | |
parent | 4b2ad3d4d802a559ecf3999dd62738cfc2967419 (diff) | |
download | ports-b532d1c416f33ddd862e3ed1037c5fa339a54f8b.tar.gz ports-b532d1c416f33ddd862e3ed1037c5fa339a54f8b.zip |
Notes
Diffstat (limited to 'audio/adpcm')
-rw-r--r-- | audio/adpcm/Makefile | 41 | ||||
-rw-r--r-- | audio/adpcm/distinfo | 1 | ||||
-rw-r--r-- | audio/adpcm/files/patch-Makefile | 40 | ||||
-rw-r--r-- | audio/adpcm/pkg-comment | 1 | ||||
-rw-r--r-- | audio/adpcm/pkg-descr | 6 | ||||
-rw-r--r-- | audio/adpcm/pkg-plist | 7 |
6 files changed, 96 insertions, 0 deletions
diff --git a/audio/adpcm/Makefile b/audio/adpcm/Makefile new file mode 100644 index 000000000000..63218b4de9fc --- /dev/null +++ b/audio/adpcm/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: adpcm +# Date created: 17 Oct 2001 +# Whom: Andrew <andrew@ugh.net.au> +# +# $FreeBSD$ +# + +PORTNAME= adpcm +PORTVERSION= 1.2 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.cwi.nl/pub/audio/ +DISTNAME= adpcm +EXTRACT_SUFX= .shar + +MAINTAINER= andrew@ugh.net.au + +NO_WRKSUBDIR= true +EXTRACT_CMD= ${SH} +EXTRACT_BEFORE_ARGS= +EXTRACT_AFTER_ARGS= +MAN3= adpcm.3 +MANCOMPRESSED= no +INSTALLS_SHLIB= yes +LIBVERSION= 1 + +pre-install: + ${MKDIR} ${PREFIX}/share/doc/adpcm + +do-install: + ${INSTALL_DATA} ${WRKSRC}/adpcm.h ${PREFIX}/include/adpcm.h + ${INSTALL_DATA} ${WRKSRC}/libadpcm.a ${PREFIX}/lib/libadpcm.a + ${INSTALL_DATA} ${WRKSRC}/libadpcm.so.${LIBVERSION} ${PREFIX}/lib/libadpcm.so.${LIBVERSION} + ${LN} -sf ${PREFIX}/lib/libadpcm.so.${LIBVERSION} ${PREFIX}/lib/libadpcm.so + ${INSTALL_MAN} ${WRKSRC}/adpcm.2 ${PREFIX}/man/man3/adpcm.3 + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/adpcm/README + uudecode -p ${WRKSRC}/hello.adpcm.uu > ${PREFIX}/share/doc/adpcm/hello.adpcm + +post-install: + strip ${PREFIX}/lib/libadpcm.so.${LIBVERSION} + +.include <bsd.port.mk> diff --git a/audio/adpcm/distinfo b/audio/adpcm/distinfo new file mode 100644 index 000000000000..5f978cdea87e --- /dev/null +++ b/audio/adpcm/distinfo @@ -0,0 +1 @@ +MD5 (adpcm.shar) = bbf89aadbb05775e93274d109f2c11c6 diff --git a/audio/adpcm/files/patch-Makefile b/audio/adpcm/files/patch-Makefile new file mode 100644 index 000000000000..553215c965d7 --- /dev/null +++ b/audio/adpcm/files/patch-Makefile @@ -0,0 +1,40 @@ +--- Makefile.orig Wed Oct 17 16:47:29 2001 ++++ Makefile Wed Oct 17 20:47:22 2001 +@@ -1,14 +1,14 @@ + # + # Makefile for adpcm and test programs + # ------------------- +-CFLAGS=-O ++CFLAGS?=-O + # May need this on a sun: + # CFLAGS=-O -I/usr/demo/SOUND + + ALLSRC=README adpcm.2 Makefile adpcm.h libst.h adpcm.c timing.c rawcaudio.c \ + rawdaudio.c suncaudio.c sgicaudio.c sgidaudio.c hello.adpcm.uu + +-all: adpcm.o rawcaudio rawdaudio timing ++all: libadpcm.a libadpcm.so.1 + + sgi: all sgicaudio sgidaudio + +@@ -39,3 +39,20 @@ + + adpcm.shar: $(ALLSRC) + shar $(ALLSRC) > adpcm.shar ++ ++.SUFFIXES: .So .c ++ ++.c.So: ++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} ++ ${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} ++ mv ${.TARGET}.tmp ${.TARGET} ++ ++libadpcm.a: adpcm.o ++ -rm -f ${.TARGET} ++ ${AR} cq ${.TARGET} `lorder ${.ALLSRC} | tsort -q` ++ ${RANLIB} ${.TARGET} ++ ++libadpcm.so.1: adpcm.So ++ -rm -f ${.TARGET} ${.TARGET:R} ++ ${CC} -shared -Wl,-x -o ${.TARGET} -Wl,-soname,${.TARGET} \ ++ `lorder ${.ALLSRC} | tsort -q` diff --git a/audio/adpcm/pkg-comment b/audio/adpcm/pkg-comment new file mode 100644 index 000000000000..af05bdd3def9 --- /dev/null +++ b/audio/adpcm/pkg-comment @@ -0,0 +1 @@ +An Intel/DVI IMA ADPCM codec library diff --git a/audio/adpcm/pkg-descr b/audio/adpcm/pkg-descr new file mode 100644 index 000000000000..b2f4b6395cd0 --- /dev/null +++ b/audio/adpcm/pkg-descr @@ -0,0 +1,6 @@ +This is a library containing functions to convert between 16 bit linear PCM +audio and 4 bit ADPCM. It uses the Intel/DVI ADPCM encoding which is +recommended by the IMA Digital Audio Technical Working Group. + +- Andrew +andrew@ugh.net.au diff --git a/audio/adpcm/pkg-plist b/audio/adpcm/pkg-plist new file mode 100644 index 000000000000..4be8303f6c9e --- /dev/null +++ b/audio/adpcm/pkg-plist @@ -0,0 +1,7 @@ +include/adpcm.h +lib/libadpcm.a +lib/libadpcm.so.1 +lib/libadpcm.so +share/doc/adpcm/README +share/doc/adpcm/hello.adpcm +@dirrm share/doc/adpcm |