mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
16
package/liblockfile/0001-install.patch
Normal file
16
package/liblockfile/0001-install.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff -ur liblockfile-1.06.1/Makefile.in liblockfile-1.06.1-patched/Makefile.in
|
||||
--- liblockfile-1.06.1/Makefile.in 2001-03-16 22:08:33.000000000 -0600
|
||||
+++ liblockfile-1.06.1-patched/Makefile.in 2007-04-11 07:18:38.000000000 -0500
|
||||
@@ -60,11 +60,7 @@
|
||||
|
||||
install_common:
|
||||
install -m 644 lockfile.h maillock.h $(ROOT)$(includedir)
|
||||
- if [ "$(MAILGROUP)" != "" ]; then\
|
||||
- install -g $(MAILGROUP) -m 2755 dotlockfile $(ROOT)$(bindir);\
|
||||
- else \
|
||||
- install -g root -m 755 dotlockfile $(ROOT)$(bindir); \
|
||||
- fi
|
||||
+ install -m 2755 dotlockfile $(ROOT)$(bindir);\
|
||||
install -m 644 *.1 $(ROOT)$(mandir)/man1
|
||||
install -m 644 *.3 $(ROOT)$(mandir)/man3
|
||||
|
||||
4
package/liblockfile/Config.in
Normal file
4
package/liblockfile/Config.in
Normal file
@@ -0,0 +1,4 @@
|
||||
config BR2_PACKAGE_LIBLOCKFILE
|
||||
bool "liblockfile"
|
||||
help
|
||||
NFS-safe locking library.
|
||||
3
package/liblockfile/liblockfile.hash
Normal file
3
package/liblockfile/liblockfile.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# From http://snapshot.debian.org/archive/debian/20151026T153523Z/pool/main/libl/liblockfile/liblockfile_1.09-6.dsc
|
||||
sha256 16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a0695f1b7f liblockfile_1.09.orig.tar.gz
|
||||
sha256 d45eacb7c637c16d03c777c55989d98da494ae9584a0783fe6dbf0db60fa290f liblockfile_1.09-6.debian.tar.bz2
|
||||
29
package/liblockfile/liblockfile.mk
Normal file
29
package/liblockfile/liblockfile.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# liblockfile
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBLOCKFILE_VERSION = 1.09
|
||||
LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz
|
||||
LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20151026T153523Z/pool/main/libl/liblockfile
|
||||
LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-6.debian.tar.bz2
|
||||
|
||||
LIBLOCKFILE_LICENSE = LGPL-2.0+, GPL-2.0+ (dotlockfile)
|
||||
LIBLOCKFILE_LICENSE_FILES = COPYRIGHT
|
||||
|
||||
LIBLOCKFILE_INSTALL_STAGING = YES
|
||||
LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man
|
||||
|
||||
define LIBLOCKFILE_INSTALL_STAGING_CMDS
|
||||
mkdir -p $(addprefix $(STAGING_DIR)/usr/share/man/man,1 3)
|
||||
rm -f $(STAGING_DIR)/usr/lib/liblockfile.so
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install
|
||||
ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1
|
||||
endef
|
||||
|
||||
define LIBLOCKFILE_INSTALL_TARGET_CMDS
|
||||
cp -a $(STAGING_DIR)/usr/lib/liblockfile.so* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user