diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/libsmbios/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/libsmbios/PKGBUILD')
-rw-r--r-- | abs/core-testing/libsmbios/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/core-testing/libsmbios/PKGBUILD b/abs/core-testing/libsmbios/PKGBUILD new file mode 100644 index 0000000..1c1ba7b --- /dev/null +++ b/abs/core-testing/libsmbios/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 511 2008-04-20 12:39:44Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> +# Contributor: daniel g. siegel <dgsiegel@gmail.com> + +pkgname=libsmbios +pkgver=2.0.2 +pkgrel=1 +pkgdesc="A library for providing access to as much BIOS information as possible" +arch=(i686 x86_64) +url="http://linux.dell.com/libsmbios/main/index.html" +license=('GPL' 'custom') +depends=('gcc-libs>=4.3.0') +source=(http://linux.dell.com/libsmbios/download/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz) +options=('!libtool') +md5sums=('3d079038c08495c2a46ec20544168bb4') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1 + + make || return 1 + make DESTDIR=${startdir}/pkg/ install || return 1 + + install -m755 -d ${startdir}/pkg/usr/include + + cp -r include/smbios ${startdir}/pkg/usr/include/smbios || return 1 + find ${startdir}/pkg/usr/include/smbios -type d -exec chmod 0755 {} \; || return 1 + find ${startdir}/pkg/usr/include/smbios -type f -exec chmod 0644 {} \; || return 1 + chown -R root:root ${startdir}/pkg/usr/include/smbios || return 1 + + rm -f ${startdir}/pkg/usr/include/smbios/version.h.in + + install -m755 -d ${startdir}/pkg/usr/share/licenses/${pkgname} + install -m644 COPYING-OSL ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1 +} |