]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/attr/attr.nm
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / pkgs / attr / attr.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = attr
7 version = 2.4.43
8 release = 1
9
10 groups = System/Filesystems
11 url = http://oss.sgi.com/projects/xfs/
12 license = GPLv2+ LGPLv2+
13 summary = Tools for extended attribute support.
14
15 description
16 A set of tools for manipulating extended attributes on filesystem \
17 objects.
18 end
19
20 source_dl = ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/
21
22 build
23 requires
24 gettext
25 libtool
26 end
27
28 configure_options += \
29 --bindir=/bin \
30 --enable-shared \
31 --mandir=/usr/share/man
32
33 make_build_targets += LIBTOOL="libtool --tag=CC"
34
35 install_cmds
36 mkdir -pv %{BUILDROOT}/{,usr/}lib
37 install -v -m0755 %{DIR_APP}/libattr/.libs/libattr.so.1.1.0 %{BUILDROOT}/lib
38 ln -vsf libattr.so.1.1.0 %{BUILDROOT}/lib/libattr.so.1
39 ln -vsf ../../lib/libattr.so.1 %{BUILDROOT}/usr/lib/libattr.so
40 install -v -d %{BUILDROOT}/usr/include/attr
41 cp -vf %{DIR_APP}/include/{attributes.h,error_context.h,libattr.h,xattr.h} \
42 %{BUILDROOT}/usr/include/attr/
43 end
44 end
45
46 packages
47 package lib%{name}
48 end
49
50 package lib%{name}-devel
51 template DEVEL
52 end
53 end