]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - parted/parted.nm
network: Fix build on 32 architectures
[people/amarx/ipfire-3.x.git] / parted / parted.nm
index dda6e6104a7dd811d9a3e22a50eee2783006a8fd..3beb58a9774b74e49e09c71ce72f8e99a3ffb14b 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = parted
-version    = 2.1
-release    = 2
+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,21 +34,12 @@ build
        end
 
        configure_options += \
-               --libdir=/lib \
-               --enable-selinux
-
-       install_cmds
-               mkdir -pv %{BUILDROOT}/usr/lib
-               mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
-               rm -rf %{BUILDROOT}/lib/libparted{,-2.1}.so
-               ln -svf ../../lib/libparted-%{version}.so.0 %{BUILDROOT}/usr/lib/libparted-%{version}.so
-               ln -svf libparted-%{version}.so %{BUILDROOT}/usr/lib/libparted.so
-       end
+               --enable-selinux \
+               --disable-Werror
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL