diff --git a/common/shlibs b/common/shlibs index 1ff77c976f..283ee3690a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -966,3 +966,4 @@ libwx_gtk2u_stc-2.8.so.0 wxGTK wxGTK-devel libwx_gtk2u_svg-2.8.so.0 wxGTK wxGTK-devel libkeyutils.so.1 libkeyutils keyutils-devel libiptcdata.so.0 libiptcdata libiptcdata-devel +libutempter.so.1 libutempter libutempter-devel diff --git a/srcpkgs/libutempter-devel b/srcpkgs/libutempter-devel new file mode 120000 index 0000000000..c0036dd6f8 --- /dev/null +++ b/srcpkgs/libutempter-devel @@ -0,0 +1 @@ +libutempter \ No newline at end of file diff --git a/srcpkgs/libutempter/depends b/srcpkgs/libutempter/depends new file mode 100644 index 0000000000..0fabab2982 --- /dev/null +++ b/srcpkgs/libutempter/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.1.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/libutempter/libutempter-devel.template b/srcpkgs/libutempter/libutempter-devel.template new file mode 100644 index 0000000000..89b0e19cf2 --- /dev/null +++ b/srcpkgs/libutempter/libutempter-devel.template @@ -0,0 +1,14 @@ +# Template file for 'libutempter-devel'. +# +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libutempter ">=${version}" + +do_install() { + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/libutempter/libutempter.rshlibs b/srcpkgs/libutempter/libutempter.rshlibs new file mode 100644 index 0000000000..631aa1dda4 --- /dev/null +++ b/srcpkgs/libutempter/libutempter.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/libutempter/template b/srcpkgs/libutempter/template new file mode 100644 index 0000000000..4c2c41aed3 --- /dev/null +++ b/srcpkgs/libutempter/template @@ -0,0 +1,15 @@ +# Template file for 'libutempter' +pkgname=libutempter +version=1.1.5 +homepage="http://freecode.com/projects/libutempter" +distfiles="ftp://ftp.altlinux.org/pub/people/ldv/utempter/$pkgname-$version.tar.bz2" +build_style=gnu-makefile +short_desc="Library interface to record user sessions in utmp/wtmp files" +maintainer="Juan RP <xtraeme@gmail.com>" +license="LGPL-2.1" +checksum=73d0576b16caeb22874dc80d0ce7a6aeebb3181b117e95c147cd8d29df99e70e +long_desc=" + libutempter provides a library interface for terminal emulators such as + screen and xterm to record user sessions to utmp and wtmp files." + +subpackages="$pkgname-devel"