Added parted-2.1 build template.

--HG--
extra : convert_revision : e66b8072fd11019cb17e5a5f896cf7b7e83ba593
This commit is contained in:
Juan RP 2010-01-25 17:12:59 +01:00
parent aa7ed5e4a2
commit 5ef117ebf2
7 changed files with 66 additions and 0 deletions

1
srcpkgs/libparted Symbolic link
View file

@ -0,0 +1 @@
parted

1
srcpkgs/libparted-devel Symbolic link
View file

@ -0,0 +1 @@
parted

2
srcpkgs/parted/depends Normal file
View file

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

View file

@ -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
}

View file

@ -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
}

26
srcpkgs/parted/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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

View file

@ -433,3 +433,4 @@ libgvplugin_dot_layout.so graphviz
libgvplugin_gd.so graphviz libgvplugin_gd.so graphviz
libgvplugin_rsvg.so graphviz libgvplugin_rsvg.so graphviz
libgvplugin_gtk.so graphviz libgvplugin_gtk.so graphviz
libparted-2.1.so libparted libparted-devel