Changeset ae7bbbc in freewrt
- Timestamp:
- Jan 13, 2007, 11:47:02 PM (19 years ago)
- Children:
- 9b55b84
- Parents:
- 44991f8
- Files:
-
- 3 edited
-
mk/package.mk (modified) (1 diff)
-
mk/pkg-bottom.mk (modified) (2 diffs)
-
scripts/scan-tools.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mk/package.mk
r44991f8 rae7bbbc 86 86 tee '$${STAGING_DIR}/pkg/$(1)' | \ 87 87 cpio -apdlmu '$${STAGING_DIR}' 88 @cd '${STAGING_DIR}'; grep 'usr/lib/.*\.la$$$$' 'pkg/$(1)' | \ 89 while read fn; do \ 90 chmod u+w $$$$fn; \ 91 printf '%s\nwq\n' '/^libdir='\''*/s##&${STAGING_DIR}#' | \ 92 ed -s $$$$fn; \ 93 done 88 94 $${IPKG_BUILD} $${IDIR_$(1)} $${PACKAGE_DIR} 89 95 -
mk/pkg-bottom.mk
r44991f8 rae7bbbc 116 116 find lib \( -name lib\*.so.\* -o -name lib\*.a \) \ 117 117 -exec echo "WARNING: ${PKG_NAME} installs files in /lib - fix this!" >&2 \ 118 \; -quit ; \118 \; -quit 2>/dev/null; \ 119 119 find usr ! -type d 2>/dev/null | \ 120 120 grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \ 121 121 tee '${STAGING_DIR}/pkg/${PKG_NAME}' | \ 122 122 cpio -apdlmu '${STAGING_DIR}' 123 -rm -f ${STAGING_DIR}/{,usr/}lib/*.la 123 @cd '${STAGING_DIR}'; grep 'usr/lib/.*\.la$$' 'pkg/${PKG_NAME}' | \ 124 while read fn; do \ 125 chmod u+w $$fn; \ 126 printf '%s\nwq\n' '/^libdir='\''*/s##&${STAGING_DIR}#' | \ 127 ed -s $$fn; \ 128 done 124 129 touch $@ 125 130 … … 133 138 134 139 package: ${ALL_IPKGS} 135 cd $(WRKDIR)/fake-${ARCH}; y=; sp=; for x in ${ALL_IDIRS}; do \140 @cd $(WRKDIR)/fake-${ARCH}; y=; sp=; for x in ${ALL_IDIRS}; do \ 136 141 y="$$y$$sp$${x#$(WRKDIR)/fake-${ARCH}/}"; \ 137 142 sp=' '; \ -
scripts/scan-tools.sh
r44991f8 rae7bbbc 272 272 fi 273 273 274 if ! which ed >/dev/null 2>&1; then 275 echo Why does your distribution not package the standard 276 echo text editor, ed? Please install it to continue. 277 out=1 278 elif [[ "$(which ed 2>/dev/null)" != /bin/ed ]]; then 279 echo Your operating system installs ed, the standard text 280 echo editor, not as /bin/ed. While you can build FreeWRT 281 echo with this, ask your vendor to fix it, point to the 282 echo FHS if needed. 283 fi 284 274 285 275 286 cd $topdir
Note:
See TracChangeset
for help on using the changeset viewer.
