pmount: add a recipe for pmount 0.9.4
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 22 Sep 2005 14:04:15 +0000 (14:04 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 22 Sep 2005 14:04:15 +0000 (14:04 +0000)
packages/pmount/.mtn2git_empty [new file with mode: 0644]
packages/pmount/files/.mtn2git_empty [new file with mode: 0644]
packages/pmount/files/no-hal.patch [new file with mode: 0644]
packages/pmount/pmount_0.9.4.bb [new file with mode: 0644]

diff --git a/packages/pmount/.mtn2git_empty b/packages/pmount/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/pmount/files/.mtn2git_empty b/packages/pmount/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/pmount/files/no-hal.patch b/packages/pmount/files/no-hal.patch
new file mode 100644 (file)
index 0000000..0deffde
--- /dev/null
@@ -0,0 +1,11 @@
+--- pmount-0.9.4/Makefile.orig 2005-09-22 15:43:39 +0200
++++ pmount-0.9.4/Makefile      2005-09-22 15:43:52 +0200
+@@ -9,7 +9,7 @@
+ pumount_OBJ = pumount.o policy.o utils.o luks.o
+ pmount_hal_OBJ = pmount-hal.o policy.o utils.o fs.o
+-all: pmount pumount pmount-hal po/pmount.pot
++all: pmount pumount po/pmount.pot
+ pmount: $(pmount_OBJ)
+       $(CC) $(LDFLAGS) $^ $(LIBS) -o $@
diff --git a/packages/pmount/pmount_0.9.4.bb b/packages/pmount/pmount_0.9.4.bb
new file mode 100644 (file)
index 0000000..ceb0d07
--- /dev/null
@@ -0,0 +1,14 @@
+DESCRIPTION="mount removable devices as normal user"
+DEPENDS="sysfsutils"
+PR="r0"
+
+SRC_URI="http://www.piware.de/projects/pmount-0.9.4.tar.gz \
+        file://no-hal.patch;patch=1"
+
+do_install() {
+       install -m 4755 -D ${S}/pmount ${D}/${bindir}/pmount
+        install -m 4755 -D ${S}/pumount ${D}/${bindir}/pumount
+        install -m 644 -D ${S}/pmount.1 ${D}/${datadir}/man/man1/pmount.1
+       install -m 644 -D ${S}/pumount.1 ${D}/${datadir}/man/man1/pumount.1
+       install -m 644 -D ${S}/pmount.allow ${D}/${sysconfdir}/pmount.allow
+}