diff --git a/srcpkgs/libparted b/srcpkgs/libparted new file mode 120000 index 0000000000..478074faf9 --- /dev/null +++ b/srcpkgs/libparted @@ -0,0 +1 @@ +parted \ No newline at end of file diff --git a/srcpkgs/libparted-devel b/srcpkgs/libparted-devel new file mode 120000 index 0000000000..478074faf9 --- /dev/null +++ b/srcpkgs/libparted-devel @@ -0,0 +1 @@ +parted \ No newline at end of file diff --git a/srcpkgs/parted/depends b/srcpkgs/parted/depends new file mode 100644 index 0000000000..012b7194ee --- /dev/null +++ b/srcpkgs/parted/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/parted/libparted-devel.template b/srcpkgs/parted/libparted-devel.template new file mode 100644 index 0000000000..be82d0c178 --- /dev/null +++ b/srcpkgs/parted/libparted-devel.template @@ -0,0 +1,19 @@ +# Template file for 'libparted-devel'. +# +short_desc="The GNU Parted disk partitioning library development files" +long_desc="${long_desc} + + This package contains the static library and header files for libparted, which + are really only of interest to parted developers." + +Add_dependency run libuuid-devel +Add_dependency run device-mapper-devel +Add_dependency run libparted + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libparted*.* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/parted/libparted.template b/srcpkgs/parted/libparted.template new file mode 100644 index 0000000000..0470ca3cf1 --- /dev/null +++ b/srcpkgs/parted/libparted.template @@ -0,0 +1,16 @@ +# Template file for 'libparted'. +# +short_desc="The GNU Parted disk partitioning shared library" +long_desc="${long_desc} + + This package contains libparted, the required shared library used by Parted." + +Add_dependency run glibc +Add_dependency run libuuid +Add_dependency run device-mapper + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libparted*.so.* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/parted/template b/srcpkgs/parted/template new file mode 100644 index 0000000000..c37142ec86 --- /dev/null +++ b/srcpkgs/parted/template @@ -0,0 +1,26 @@ +# Template file for 'parted' +pkgname=parted +version=2.1 +distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz" +build_style=gnu_configure +configure_args="--without-included-regex --with-gnu-ld +--disable-rpath --disable-debug" +short_desc="The GNU Parted disk partition resizing program" +maintainer="Juan RP " +checksum=171e23b2db94eab9ad5a20f483d028b52fedc93d40dc927d73e6e12786a102d3 +long_desc=" + 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 + operating systems, reorganising disk usage, and copying data to new hard disks." + +subpackages="libparted libparted-devel" + +Add_dependency run glibc +Add_dependency run ncurses-libs +Add_dependency run readline +Add_dependency run libparted +Add_dependency build xz +Add_dependency build libuuid-devel +Add_dependency build ncurses-devel +Add_dependency build readline-devel +Add_dependency build device-mapper-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 26f365ef69..6e841e86cb 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -433,3 +433,4 @@ libgvplugin_dot_layout.so graphviz libgvplugin_gd.so graphviz libgvplugin_rsvg.so graphviz libgvplugin_gtk.so graphviz +libparted-2.1.so libparted libparted-devel