pciutils: converted to subpkgs.

--HG--
extra : convert_revision : a195e5b91572da8277a42b99d15fefae64e22e35
This commit is contained in:
Juan RP 2009-12-05 03:42:43 +01:00
parent f1711e83f0
commit 0b01b7d56b
3 changed files with 22 additions and 0 deletions

1
srcpkgs/pciutils-devel Symbolic link
View file

@ -0,0 +1 @@
pciutils

View file

@ -0,0 +1,19 @@
# Template file for 'pciutils-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run pciutils
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man7 ${DESTDIR}/usr/share/man
}

View file

@ -1,6 +1,7 @@
# Template file for 'pciutils' # Template file for 'pciutils'
pkgname=pciutils pkgname=pciutils
version=3.1.4 version=3.1.4
revision=1
distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$pkgname-$version.tar.gz" distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$pkgname-$version.tar.gz"
build_style=custom-install build_style=custom-install
short_desc="PCI bus related utilities" short_desc="PCI bus related utilities"
@ -10,6 +11,7 @@ long_desc="
The $pkgname package contains various utilities for inspecting and The $pkgname package contains various utilities for inspecting and
setting devices connected to the PCI bus." setting devices connected to the PCI bus."
subpackages="$pkgname-devel"
Add_dependency full glibc Add_dependency full glibc
Add_dependency build wget Add_dependency build wget
Add_dependency build which Add_dependency build which