From 1f1cfbe1762fb08e865596e0ce24d3c449f08935 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 10 Apr 2012 12:26:35 +0200 Subject: [PATCH] New package: libutempter-1.1.5. --- common/shlibs | 1 + srcpkgs/libutempter-devel | 1 + srcpkgs/libutempter/depends | 2 ++ srcpkgs/libutempter/libutempter-devel.template | 14 ++++++++++++++ srcpkgs/libutempter/libutempter.rshlibs | 1 + srcpkgs/libutempter/template | 15 +++++++++++++++ 6 files changed, 34 insertions(+) create mode 120000 srcpkgs/libutempter-devel create mode 100644 srcpkgs/libutempter/depends create mode 100644 srcpkgs/libutempter/libutempter-devel.template create mode 100644 srcpkgs/libutempter/libutempter.rshlibs create mode 100644 srcpkgs/libutempter/template diff --git a/common/shlibs b/common/shlibs index 1ff77c976f5..283ee3690ae 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 00000000000..c0036dd6f8a --- /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 00000000000..0fabab29823 --- /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 00000000000..89b0e19cf2d --- /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 00000000000..631aa1dda40 --- /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 00000000000..4c2c41aed3b --- /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 " +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"