1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUP = Applications/System
33 PKG_URL = http://www.gnu.org/software/parted
35 PKG_SUMMARY = The GNU disk partition manipulation program.
37 PKG_BUILD_DEPS+= libdevmapper-devel libselinux-devel libsepol-devel \
38 libuuid-devel ncurses-devel readline-devel
40 define PKG_DESCRIPTION
41 The GNU Parted program allows you to create, destroy, resize, move, \
42 and copy hard disk partitions. Parted can be used for creating space \
43 for new operating systems, reorganizing disk usage, and copying data \
47 PKG_TARBALL = $(THISAPP).tar.gz
49 PKG_PACKAGES += $(PKG_NAME)-devel
51 CONFIGURE_OPTIONS += \
55 define STAGE_INSTALL_CMDS
56 -mkdir -pv $(BUILDROOT)/usr/lib
57 mv -v $(BUILDROOT)/lib/pkgconfig $(BUILDROOT)/usr/lib/
58 rm -rf $(BUILDROOT)/lib/libparted{,-2.1}.so
59 ln -svf ../../lib/libparted-$(PKG_VER).so.0 $(BUILDROOT)/usr/lib/libparted-$(PKG_VER).so
60 ln -svf libparted-$(PKG_VER).so $(BUILDROOT)/usr/lib/libparted.so