parted: update to 3.0, bump api_depends.

This commit is contained in:
Juan RP 2012-01-26 14:08:02 +01:00
parent be9aba6e5f
commit e4ded7c20f
6 changed files with 13 additions and 25 deletions

View file

@ -424,7 +424,7 @@ libcap-ng.so.0 libcap-ng libcap-ng-devel
libhandle.so.1 xfsprogs-libs xfsprogs-devel libhandle.so.1 xfsprogs-libs xfsprogs-devel
libphysfs.so.1 physfs physfs-devel libphysfs.so.1 physfs physfs-devel
libSDL_ttf-2.0.so.0 SDL_ttf SDL_ttf-devel libSDL_ttf-2.0.so.0 SDL_ttf SDL_ttf-devel
libparted.so.0 libparted libparted-devel libparted.so.1 libparted libparted-devel
libopenobex.so.1 libopenobex libopenobex-devel libopenobex.so.1 libopenobex libopenobex-devel
libntfs-3g.so.81 ntfs-3g ntfs-3g-devel libntfs-3g.so.81 ntfs-3g ntfs-3g-devel
libruby.so.1.9 ruby ruby-devel libruby.so.1.9 ruby ruby-devel

View file

@ -1,2 +1,2 @@
abi_depends=">=2.1" abi_depends=">=3.0"
api_depends="${abi_depends}" api_depends="${abi_depends}"

View file

@ -6,15 +6,10 @@ long_desc="${long_desc}
This package contains the static library and header files for libparted, which This package contains the static library and header files for libparted, which
are really only of interest to parted developers." are really only of interest to parted developers."
Add_dependency run libuuid-devel
Add_dependency run libblkid-devel
Add_dependency run device-mapper-devel
Add_dependency run libparted Add_dependency run libparted
do_install() do_install() {
{ vmove usr/include usr
mkdir -p ${DESTDIR}/usr/lib vmove usr/lib/pkgconfig usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr vmove "usr/lib/*.a" usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libparted*.* ${DESTDIR}/usr/lib
} }

View file

@ -1,14 +1,10 @@
# Template file for 'libparted'. # Template file for 'libparted'.
# #
revision=1
short_desc="The GNU Parted disk partitioning shared library" short_desc="The GNU Parted disk partitioning shared library"
long_desc="${long_desc} long_desc="${long_desc}
This package contains libparted, the required shared library used by Parted." This package contains libparted, the required shared library used by Parted."
do_install() {
do_install() vmove "usr/lib/libparted.so*" usr/lib
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libparted*.so* ${DESTDIR}/usr/lib
} }

View file

@ -1,4 +1,4 @@
libparted.so.0
libc.so.6 libc.so.6
libreadline.so.6 libreadline.so.6
libncursesw.so.6 libncursesw.so.6
libparted.so.1

View file

@ -1,16 +1,14 @@
# Template file for 'parted' # Template file for 'parted'
pkgname=parted pkgname=parted
version=2.4 version=3.0
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz" distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--without-included-regex --with-gnu-ld configure_args="--without-included-regex --disable-rpath --disable-debug"
--disable-rpath --disable-debug"
revision=1
short_desc="The GNU Parted disk partition resizing program" short_desc="The GNU Parted disk partition resizing program"
homepage="http://www.gnu.org/software/parted/" homepage="http://www.gnu.org/software/parted/"
license="GPL3" license="GPL3"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=508ff75591b9c8cc9d06f1e0b1db1a082a4b0c1b9d4efaac48b4ca46370d9073 checksum=2a840865fe5bc71f3c2599f30ed6190f6ff8a50834077b2ba9ab0639e55e9e14
long_desc=" long_desc="
GNU Parted is a program that allows you to create, destroy, resize, move and GNU Parted is a program that allows you to create, destroy, resize, move and
copy hard disk partitions. This is useful for creating space for new copy hard disk partitions. This is useful for creating space for new
@ -18,8 +16,7 @@ long_desc="
subpackages="libparted libparted-devel" subpackages="libparted libparted-devel"
Add_dependency build pkg-config
Add_dependency build xz
Add_dependency build libuuid-devel Add_dependency build libuuid-devel
Add_dependency build libblkid-devel Add_dependency build libblkid-devel
Add_dependency build ncurses-devel Add_dependency build ncurses-devel