util-linux-ng: update to 2.18, added libmount{,-devel} subpkgs.

This commit is contained in:
Juan RP 2010-10-22 18:34:57 +02:00
parent 66f015ef49
commit 7a0c1d176f
9 changed files with 48 additions and 13 deletions

1
srcpkgs/libmount Symbolic link
View file

@ -0,0 +1 @@
util-linux-ng

1
srcpkgs/libmount-devel Symbolic link
View file

@ -0,0 +1 @@
util-linux-ng

View file

@ -7,8 +7,6 @@ long_desc="
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run zlib-devel Add_dependency run zlib-devel
Add_dependency run libuuid-devel Add_dependency run libuuid-devel
Add_dependency run libblkid Add_dependency run libblkid

View file

@ -5,8 +5,6 @@ long_desc="
The libblkid package contains a library to handle device identification The libblkid package contains a library to handle device identification
and token extraction." and token extraction."
revision=1
Add_dependency run glibc Add_dependency run glibc
Add_dependency run zlib Add_dependency run zlib
Add_dependency run libuuid Add_dependency run libuuid

View file

@ -0,0 +1,22 @@
# Template file for 'libmount-devel'.
#
short_desc="mount(8) library development files"
long_desc="
This NEW LIBRARY is designed to be used in low-level utils like
mount(8) and /sbin/mount.<type> helpers as well as in some other
projects.
This packages contains files for development, static files, headers, etc."
Add_dependency run glibc-devel
Add_dependency run libblkid-devel
Add_dependency run libuuid-devel
Add_dependency run libmount
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/include
mv ${SRCPKGDESTDIR}/usr/lib/libmount.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig/*mount* ${DESTDIR}/usr/lib/pkgconfig
mv ${SRCPKGDESTDIR}/usr/include/mount ${DESTDIR}/usr/include
}

View file

@ -0,0 +1,18 @@
# Template file for 'libmount'.
#
short_desc="A mount(8) library"
long_desc="
This NEW LIBRARY is designed to be used in low-level utils like
mount(8) and /sbin/mount.<type> helpers as well as in some other
projects."
Add_dependency run glibc
Add_dependency run libblkid
Add_dependency run libuuid
do_install()
{
mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/lib/libmount.so* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/libmount.so ${DESTDIR}/usr/lib
}

View file

@ -7,8 +7,6 @@ long_desc="
This packages contains files for development, static files, headers, etc." This packages contains files for development, static files, headers, etc."
revision=1
Add_dependency run glibc-devel Add_dependency run glibc-devel
do_install() do_install()

View file

@ -5,8 +5,6 @@ long_desc="
libuuid generates and parses 128-bit universally unique id's (UUIDs). libuuid generates and parses 128-bit universally unique id's (UUIDs).
See RFC 4122 for more information." See RFC 4122 for more information."
revision=1
Add_dependency run glibc Add_dependency run glibc
do_install() do_install()

View file

@ -1,21 +1,21 @@
# Template file for 'util-linux-ng' # Template file for 'util-linux-ng'
pkgname=util-linux-ng pkgname=util-linux-ng
version=2.17.2 version=2.18
revision=1 distfiles="${KERNEL_SITE}/utils/$pkgname/v2.18/$pkgname-$version.tar.bz2"
distfiles="${KERNEL_SITE}/utils/$pkgname/v2.17/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-partx --enable-write --enable-libuuid configure_args="--enable-partx --enable-write --enable-libuuid
--enable-libblkid --disable-fsck --disable-rpath --with-gnu-ld --enable-libblkid --disable-fsck --disable-rpath --with-gnu-ld
--disable-makeinstall-chown" --disable-makeinstall-chown"
short_desc="Miscellaneous linux utilities" short_desc="Miscellaneous linux utilities"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=c9ae801b6a5ab20b7749a278a8bf6830ef53adc5e8b7eb0ac1a9f410c774118f checksum=b8c5c07c763888aa712b4585393346667a00793127c54cef0470cfa456b031cc
long_desc=" long_desc="
The util-linux-ng package contains miscellaneous utility programs. Among The util-linux-ng package contains miscellaneous utility programs. Among
them are utilities for handling file systems, consoles, partitions, them are utilities for handling file systems, consoles, partitions,
and messages." and messages."
subpackages="libblkid libblkid-devel libuuid libuuid-devel" subpackages="libmount libmount-devel libblkid libblkid-devel
libuuid libuuid-devel"
# Required by /var/lib/hwclock # Required by /var/lib/hwclock
keep_empty_dirs=yes keep_empty_dirs=yes
@ -24,6 +24,7 @@ Add_dependency run coreutils
Add_dependency run zlib Add_dependency run zlib
Add_dependency run libuuid Add_dependency run libuuid
Add_dependency run libblkid Add_dependency run libblkid
Add_dependency run libmount
Add_dependency run ncursesw Add_dependency run ncursesw
Add_dependency run shadow Add_dependency run shadow
Add_dependency build pkg-config Add_dependency build pkg-config