Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Apr 21, 2013
0 parents commit e0adfbd
Show file tree
Hide file tree
Showing 17 changed files with 3,654 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitignore
@@ -0,0 +1,23 @@
.*sw*
Makefile
aclocal.m4
autom4te.cache/
config.guess
config.log
config.status
config.sub
configure
install-sh
src/META
src/Makefile
src/._bcdi/
src/._d/
src/._ncdi/
src/*.a
src/*.cm*
src/*.o
src/*.so
examples/._d
examples/*.cm*
examples/wav2aac
examples/wav2aac.o
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "m4"]
path = m4
url = git://github.com/savonet/m4.git
3 changes: 3 additions & 0 deletions CHANGES
@@ -0,0 +1,3 @@
0.1.0 (2011-06-30)
=====
* Initial release
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions Makefile.in
@@ -0,0 +1,30 @@
# $Id: Makefile.in 2660 2006-07-18 17:23:31Z dbaelde $

PROGNAME := ocaml-fdkaac
DISTFILES := @AUTOCONF_INSTALL_FILES@ CHANGES COPYING Makefile.in README \
bootstrap configure configure.ac \
src/*.ml src/*.mli src/*.c src/Makefile.in src/META.in \
src/OCamlMakefile
VERSION = @VERSION@

all clean install uninstall:
$(MAKE) -C src $@

distclean: clean
$(MAKE) -C examples clean

doc:
$(MAKE) -C src htdoc
mkdir -p doc
rm -rf doc/html
mv src/doc/fdkaac/html doc
rm -rf src/doc

dist:
rm -rf $(PROGNAME)-$(VERSION)
mkdir $(PROGNAME)-$(VERSION)
cp -R -L --parents $(DISTFILES) $(PROGNAME)-$(VERSION)
tar zcvf ../$(PROGNAME)-$(VERSION).tar.gz $(PROGNAME)-$(VERSION)
rm -rf $(PROGNAME)-$(VERSION)

.PHONY: dist doc
37 changes: 37 additions & 0 deletions README
@@ -0,0 +1,37 @@
ocaml-fdkaac

This package contains an OCaml interface for
the AAC+ encoding library, otherwise known as libfdkaac.

Please read the COPYING file before using this software.

Prerequisites:
==============

- ocaml >= 3.10.2 (haven't tried earlier versions)

- libfdkaac >= 2.0

- findlib >= 0.8.1 (haven't tried earlier versions)

Compilation:
============

$ make all

This should build both the native and the byte-code version of the
extension library.

Installation:
=============

$ make install

This should install the library file (using ocamlfind) in the
appropriate place.

Author:
=======

This author of this software may be contacted by electronic mail
at the following address: savonet-users@lists.sourceforge.net.
17 changes: 17 additions & 0 deletions bootstrap
@@ -0,0 +1,17 @@
#!/bin/sh

if [ -d m4 ]; then
OPTIONS="-I m4"
aclocal -I m4
fi
autoreconf -f -i $OPTIONS $1
# autoconf maintainers have not yet implemented
# a function to install missing files from autoconf
# itself, so we need to fake a call to automake here..
automake -a -c -f 2>/dev/null || true
if [ -d examples ]; then
if [ -f examples/configure.ac ]; then
cd examples
autoreconf -f -i
fi
fi
22 changes: 22 additions & 0 deletions configure.ac
@@ -0,0 +1,22 @@

# check for one particular file of the sources
AC_INIT([ocaml-fdkaac],[0.1.0],[savonet-users@lists.sourceforge.net])

VERSION=$PACKAGE_VERSION
AC_MSG_RESULT([configuring $PACKAGE_STRING])

AC_BASE_CHECKS()

PKG_PROG_PKG_CONFIG()
PKG_CONFIG_CHECK_MODULE([fdk-aac],[0.1.1])

# substitutions to perform
AC_SUBST(VERSION)
AC_SUBST(INC)
AC_SUBST(requires)

# Finally create the Makefile and samples
AC_CONFIG_FILES([Makefile],[chmod a-w Makefile])
AC_CONFIG_FILES([src/META])
AC_CONFIG_FILES([src/Makefile])
AC_OUTPUT

0 comments on commit e0adfbd

Please sign in to comment.