Convert packages to the new template format (e).

This commit is contained in:
Juan RP
2013-04-12 10:23:11 +02:00
parent 1a92f1be98
commit a7fcdce3c4
73 changed files with 610 additions and 448 deletions

View File

@@ -1,12 +0,0 @@
# Template file for 'ecryptfs-utils-python'.
#
depends="python"
short_desc="ecryptfs cryptographic filesystem (python binding)"
long_desc="
eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux.
This package contains the Python library binding."
do_install() {
vmove usr/lib/python2.7 usr/lib
}

View File

@@ -1,15 +0,0 @@
# Template file for 'libecryptfs-devel'.
#
noarch=yes
depends="keyutils-devel libecryptfs>=${version}_${revision}"
short_desc="ecryptfs cryptographic filesystem (development)"
long_desc="
eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic
filesystem for Linux.
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
}

View File

@@ -1,11 +0,0 @@
# Template file for 'libecryptfs'.
#
short_desc="ecryptfs cryptographic filesystem (library)"
long_desc="
eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux.
This package contains the library."
do_install() {
vmove "usr/lib/*.so*" usr/lib
}

View File

@@ -1,9 +1,8 @@
# Template file for 'ecryptfs-utils'
pkgname=ecryptfs-utils
version=101
revision=1
revision=2
build_style=gnu-configure
subpackages="libecryptfs libecryptfs-devel ${pkgname}-python"
configure_args="--with-pamdir=/usr/lib/security --enable-gpg --enable-gui"
makedepends="pkg-config intltool python-devel pam-devel nss-devel
swig openssl-devel keyutils-devel gpgme-devel gtk+-devel"
@@ -39,3 +38,33 @@ post_install() {
echo "ecryptfs" > ${DESTDIR}/usr/lib/modules-load.d/ecryptfs.conf
chmod 644 ${DESTDIR}/usr/lib/modules-load.d/ecryptfs.conf
}
libecryptfs_package() {
short_desc="ecryptfs cryptographic filesystem (library)"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
libecryptfs-devel_package() {
depends="keyutils-devel libecryptfs>=${version}_${revision}"
short_desc="ecryptfs cryptographic filesystem (development)"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
ecryptfs-utils-python_package() {
depends="python"
short_desc="ecryptfs cryptographic filesystem (python binding)"
pkg_install() {
vmove usr/lib/python2.7
}
}
ecryptfs-utils_package() {
pkg_install() {
vmove usr
}
}