From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 30 May 2011 21:02:44 +0200 Subject: [Buildroot] [PATCH 1/2] Add package acl In-Reply-To: <1306779390-19947-2-git-send-email-zonque@gmail.com> References: <1306779390-19947-1-git-send-email-zonque@gmail.com> <1306779390-19947-2-git-send-email-zonque@gmail.com> Message-ID: <20110530210244.5bd309aa@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Mon, 30 May 2011 20:16:29 +0200 Daniel Mack wrote: > +define ACL_INSTALL_TARGET_CMDS > + $(INSTALL) -m 0755 -D $(@D)/getfacl/.libs/getfacl $(TARGET_DIR)/usr/bin/ > + $(INSTALL) -m 0755 -D $(@D)/setfacl/.libs/setfacl $(TARGET_DIR)/usr/bin/ > + $(INSTALL) -m 0644 -D $(@D)/libacl/.libs/libacl.so* $(STAGING_DIR)/usr/lib/ > +endef > + > +define ACL_INSTALL_STAGING_CMDS > + test -d $(STAGING_DIR)/usr/include/acl/ || mkdir $(STAGING_DIR)/usr/include/acl/ > + $(INSTALL) -m 0644 -D $(@D)/include/*.h $(STAGING_DIR)/usr/include/acl/ > + $(SED) s,sys/acl.h,acl/acl.h, -i $(STAGING_DIR)/usr/include/acl/libacl.h > +endef Any reason to not use the default "make install" behaviour of the package ? (And ditto for the attr package). Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com