]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - parted/parted.nm
parted: Update to 3.1.
[people/ms/ipfire-3.x.git] / parted / parted.nm
index bfe7cdd8a4c528570da5c094343662d1b98833bb..3beb58a9774b74e49e09c71ce72f8e99a3ffb14b 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = parted
-version    = 2.1
-release    = 3
+version    = 3.1
+release    = 1
 
 groups     = Applications/System
 url        = http://www.gnu.org/software/parted
@@ -19,7 +19,8 @@ description
        to new hard disks.
 end
 
-source_dl  =
+source_dl  = http://ftp.gnu.org/gnu/parted/
+sources    = %{thisapp}.tar.xz
 
 build
        requires
@@ -33,17 +34,8 @@ build
        end
 
        configure_options += \
-               --libdir=/%{lib} \
                --enable-selinux \
                --disable-Werror
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}%{libdir}
-               mv -v %{BUILDROOT}/%{lib}/pkgconfig %{BUILDROOT}%{libdir}
-               rm -rf %{BUILDROOT}/%{lib}/libparted{,-2.1}.so
-               ln -svf ../../%{lib}/libparted-%{version}.so.0 %{BUILDROOT}%{libdir}/libparted-%{version}.so
-               ln -svf libparted-%{version}.so %{BUILDROOT}%{libdir}/libparted.so
-       end
 end
 
 packages