diff --git a/templates/alsa-lib-devel b/templates/alsa-lib-devel new file mode 120000 index 00000000000..078dc4b2386 --- /dev/null +++ b/templates/alsa-lib-devel @@ -0,0 +1 @@ +alsa-lib \ No newline at end of file diff --git a/templates/alsa-lib/depends b/templates/alsa-lib/depends new file mode 100644 index 00000000000..7387679acda --- /dev/null +++ b/templates/alsa-lib/depends @@ -0,0 +1,2 @@ +abi_depends=1.0.20 +api_depends=${abi_depends} diff --git a/templates/alsa-lib/devel.template b/templates/alsa-lib/devel.template new file mode 100644 index 00000000000..bc34c81fcdb --- /dev/null +++ b/templates/alsa-lib/devel.template @@ -0,0 +1,21 @@ +# Template file for 'alsa-lib-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run alsa-lib + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/alsa-lib/smixer + mkdir -p ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/alsa-lib/smixer/*.*a \ + ${DESTDIR}/usr/lib/alsa-lib/smixer + mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share +} diff --git a/templates/alsa-lib/template b/templates/alsa-lib/template new file mode 100644 index 00000000000..e481fd264bc --- /dev/null +++ b/templates/alsa-lib/template @@ -0,0 +1,20 @@ +# Template build file for 'alsa-lib'. +pkgname=alsa-lib +sourcepkg=$pkgname +version=1.0.20 +distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="The Advanced Linux Sound Architecture (ALSA) library" +maintainer="Juan RP " +checksum=15f8d0eef1da10c62136107e7b585bc8beb9c9e9b7ad177654097f8c15e57a63 +long_desc=" + The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI + functionality to the Linux operating system. + + This package includes the ALSA runtime libraries to simplify application + programming and provide higher level functionality as well as support for + the older OSS API, providing binary compatibility for most OSS programs." + +subpackages="devel" +Add_dependency build pkg-config +Add_dependency full glibc