f85f48e7562cd89ebcc11cabf155fcffd127d823
[openwrt/openwrt.git] / package / utils / util-linux / Makefile
1 #
2 # Copyright (C) 2007-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=util-linux
11 PKG_VERSION:=2.29.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.29
16 PKG_HASH:=accea4d678209f97f634f40a93b7e9fcad5915d1f4749f6c47bee6bf110fe8e3
17
18 PKG_LICENSE:=GPL-2.0
19 PKG_LICENSE_FILES:= COPYING \
20 getopt/COPYING \
21 libblkid/COPYING \
22 libmount/COPYING \
23 Documentation/licenses/COPYING.GPLv2 \
24 Documentation/licenses/COPYING.LGPLv2.1 \
25 libuuid/COPYING \
26 Documentation/licenses/COPYING.BSD-3
27
28 PKG_BUILD_PARALLEL:=0
29
30 PKG_CONFIG_DEPENDS:= \
31 CONFIG_PACKAGE_cal \
32 CONFIG_PACKAGE_cfdisk \
33 CONFIG_PACKAGE_setterm
34
35 PKG_FIXUP:=autoreconf
36 PKG_INSTALL:=1
37
38 include $(INCLUDE_DIR)/package.mk
39
40 define Package/util-linux/Default
41 SECTION:=utils
42 CATEGORY:=Utilities
43 DEPENDS:= +librt
44 URL:=http://www.kernel.org/pub/linux/utils/util-linux/
45 endef
46
47 define Package/libblkid
48 $(call Package/util-linux/Default)
49 DEPENDS:=+libuuid
50 TITLE:=block device id library
51 SECTION:=libs
52 CATEGORY:=Libraries
53 endef
54
55 define Package/libblkid/description
56 The libblkid library is used to identify block devices (disks) as to their
57 content (e.g. filesystem type, partitions) as well as extracting additional
58 information such as filesystem labels/volume names, partitions, unique
59 identifiers/serial numbers...
60 endef
61
62 define Package/libfdisk
63 $(call Package/util-linux/Default)
64 DEPENDS:=+libuuid +libblkid
65 TITLE:=partition manipulating library
66 SECTION:=libs
67 CATEGORY:=Libraries
68 endef
69
70 define Package/libfdisk/description
71 The libfdisk library is used for manipulating with partition tables.
72 endef
73
74 define Package/libmount
75 $(call Package/util-linux/Default)
76 DEPENDS:=+libblkid
77 TITLE:=mount library
78 SECTION:=libs
79 CATEGORY:=Libraries
80 endef
81
82 define Package/libmount/description
83 The libmount library is used to parse /etc/fstab, /etc/mtab and
84 /proc/self/mountinfo files, manage the mtab file, evaluate mount options...
85 endef
86
87 define Package/libuuid
88 $(call Package/util-linux/Default)
89 TITLE:=DCE compatible Universally Unique Identifier library
90 SECTION:=libs
91 CATEGORY:=Libraries
92 endef
93
94 define Package/libuuid/description
95 The UUID library is used to generate unique identifiers for objects
96 that may be accessible beyond the local system. This library
97 generates UUIDs compatible with those created by the Open Software
98 Foundation (OSF) Distributed Computing Environment (DCE) utility.
99 endef
100
101 define Package/libsmartcols
102 $(call Package/util-linux/Default)
103 TITLE:=table or tree library
104 SECTION:=libs
105 CATEGORY:=Libraries
106 endef
107
108 define Package/libsmartcols/description
109 The smartcols library is used to print tables and trees in a pretty way.
110 endef
111
112 define Package/agetty
113 $(call Package/util-linux/Default)
114 TITLE:=alternative Linux getty
115 SUBMENU=Terminal
116 endef
117
118 define Package/agetty/description
119 agetty opens a tty port, prompts for a login name and invokes the
120 /bin/login command
121 endef
122
123 define Package/blkdiscard
124 $(call Package/util-linux/Default)
125 TITLE:=discard sectors on a device
126 SUBMENU=Disc
127 endef
128
129 define Package/blkdiscard/description
130 The blkdiscard is used to discard device sectors. This is useful for
131 solid-state drivers (SSDs) and thinly-provisioned storage. Unlike fstrim,
132 this command is used directly on the block device.
133 endef
134
135 define Package/blkid
136 $(call Package/util-linux/Default)
137 TITLE:=locate and print block device attributes
138 DEPENDS:= +libblkid +libuuid
139 SUBMENU=Disc
140 endef
141
142 define Package/blkid/description
143 The blkid program is the command-line interface to working with the libblkid
144 library.
145 endef
146
147 define Package/cal
148 $(call Package/util-linux/Default)
149 TITLE:=display a calendar
150 DEPENDS:= +libncurses
151 endef
152
153 define Package/cal/description
154 cal displays a simple calendar
155 endef
156
157 define Package/cfdisk
158 $(call Package/util-linux/Default)
159 TITLE:=display or manipulate disk partition table
160 DEPENDS:= +libblkid +libncurses +libsmartcols +libfdisk +libmount
161 SUBMENU:=Disc
162 endef
163
164 define Package/cfdisk/description
165 cfdisk is a curses-based program for partitioning any hard disk drive
166 endef
167
168 define Package/dmesg
169 $(call Package/util-linux/Default)
170 TITLE:=print or control the kernel ring buffer
171 endef
172
173 define Package/dmesg/description
174 dmesg is used to examine or control the kernel ring buffer
175 endef
176
177 define Package/fdisk
178 $(call Package/util-linux/Default)
179 TITLE:=manipulate disk partition table
180 DEPENDS:= +libblkid +libsmartcols +libfdisk
181 SUBMENU=Disc
182 endef
183
184 define Package/fdisk/description
185 a menu-driven program for creation and manipulation of partition tables
186 endef
187
188 define Package/findfs
189 $(call Package/util-linux/Default)
190 TITLE:=find a filesystem by label or UUID
191 DEPENDS:= +libblkid
192 SUBMENU=Disc
193 endef
194
195 define Package/findfs/description
196 findfs will search the disks in the system looking for a filesystem which has
197 a label matching label or a UUID equal to uuid
198 endef
199
200 define Package/flock
201 $(call Package/util-linux/Default)
202 TITLE:=manage locks from shell scripts
203 endef
204
205 define Package/flock/description
206 manages flock locks from within shell scripts or the command line
207 endef
208
209 define Package/getopt
210 $(call Package/util-linux/Default)
211 TITLE:=parse command options (enhanced)
212 endef
213
214 define Package/getopt/description
215 getopt is used to break up (parse) options in command lines for easy parsing
216 by shell procedures, and to check for legal options
217 endef
218
219 define Package/hwclock
220 $(call Package/util-linux/Default)
221 TITLE:=query or set the hardware clock
222 endef
223
224 define Package/hwclock/description
225 hwclock is a tool for accessing the Hardware Clock
226 endef
227
228 define Package/logger
229 $(call Package/util-linux/Default)
230 TITLE:=a shell command interface to the syslog system log module
231 endef
232
233 define Package/logger/description
234 logger makes entries in the system log, it provides a shell command interface
235 to the syslog system log module
236 endef
237
238 define Package/look
239 $(call Package/util-linux/Default)
240 TITLE:=display lines beginning with a given string
241 endef
242
243 define Package/look/description
244 look utility displays any lines in file which contain string
245 endef
246
247 define Package/losetup
248 $(call Package/util-linux/Default)
249 TITLE:=set up and control loop devices
250 DEPENDS:= +libsmartcols
251 endef
252
253 define Package/losetup/description
254 losetup is used to associate loop devices with regular files or block devices,
255 to detach loop devices and to query the status of a loop device
256 endef
257
258 define Package/lsblk
259 $(call Package/util-linux/Default)
260 TITLE:=list block devices
261 DEPENDS:= +libblkid +libmount +libsmartcols
262 SUBMENU=Disc
263 endef
264
265 define Package/lsblk/description
266 lsblk lists information about all or the specified block devices
267 endef
268
269 define Package/mcookie
270 $(call Package/util-linux/Default)
271 TITLE:=generate magic cookies for xauth
272 endef
273
274 define Package/mcookie/description
275 mcookie generates a 128-bit random hexadecimal number for use with the X
276 authority system
277 endef
278
279 define Package/mount-utils
280 $(call Package/util-linux/Default)
281 TITLE:=related (u)mount utilities
282 DEPENDS+= +libmount +libsmartcols
283 endef
284
285 define Package/mount-utils/description
286 contains: mount, umount, findmnt
287 endef
288
289 define Package/namei
290 $(call Package/util-linux/Default)
291 TITLE:=follow a pathname until a terminal point is found
292 endef
293
294 define Package/namei/description
295 namei uses its arguments as pathnames to any type of Unix file (symlinks,
296 files, directories, and so forth)
297 endef
298
299 define Package/prlimit
300 $(call Package/util-linux/Default)
301 TITLE:=get and set process resource limits
302 DEPENDS:= +libsmartcols
303 endef
304
305 define Package/prlimit/description
306 Given a process id and one or more resources, prlimit tries to retrieve
307 and/or modify the limits.
308 endef
309
310 define Package/rename
311 $(call Package/util-linux/Default)
312 TITLE:=rename files
313 endef
314
315 define Package/rename/description
316 rename will rename the specified files by replacing the first occurrence of
317 expression in their name by replacement
318 endef
319
320 define Package/partx-utils
321 $(call Package/util-linux/Default)
322 TITLE:=inform kernel about the presence and numbering of on-disk partitions
323 DEPENDS:= +libblkid +libsmartcols
324 SUBMENU=Disc
325 endef
326
327 define Package/partx-utils/description
328 contains partx, addpart, delpart
329 endef
330
331 define Package/script-utils
332 $(call Package/util-linux/Default)
333 TITLE:=make and replay typescript of terminal session
334 SUBMENU=Terminal
335 endef
336
337 define Package/script-utils/description
338 contains: script, scriptreplay
339 endef
340
341 define Package/setterm
342 $(call Package/util-linux/Default)
343 TITLE:=set terminal attributes
344 DEPENDS:= +libncurses
345 SUBMENU:=Terminal
346 endef
347
348 define Package/setterm/description
349 setterm writes to standard output a character string that will invoke the
350 specified terminal capabilities
351 endef
352
353 define Package/sfdisk
354 $(call Package/util-linux/Default)
355 TITLE:=partition table manipulator for Linux
356 SUBMENU=Disc
357 DEPENDS:= +libblkid +libfdisk +libsmartcols
358 endef
359
360 define Package/sfdisk/description
361 list the size of a partition, list the partitions on a device, check the
362 partitions on a device and repartition a device
363 endef
364
365 define Package/swap-utils
366 $(call Package/util-linux/Default)
367 TITLE:=swap space management utilities
368 DEPENDS+= +libblkid
369 SUBMENU:=Filesystem
370 endef
371
372 define Package/swap-utils/description
373 contains: mkswap, swaplabel
374 endef
375
376 define Package/uuidd
377 $(call Package/util-linux/Default)
378 TITLE:=UUID generation daemon
379 DEPENDS:= +libuuid
380 endef
381
382 define Package/uuidd/description
383 The uuidd daemon is used by the UUID library to generate universally unique
384 identifiers (UUIDs), especially time-based UUIDs, in a secure and
385 guaranteed-unique fashion, even in the face of large numbers of threads
386 running on different CPUs trying to grab UUIDs.
387 endef
388
389 define Package/uuidgen
390 $(call Package/util-linux/Default)
391 TITLE:=create a new UUID value
392 DEPENDS:= +libuuid
393 endef
394
395 define Package/uuidgen/description
396 The uuidgen program creates (and prints) a new universally unique identifier
397 (UUID) using the libuuid library. The new UUID can reasonably be considered
398 unique among all UUIDs created on the local system, and among UUIDs created on
399 other systems in the past and in the future.
400 endef
401
402 define Package/wall
403 $(call Package/util-linux/Default)
404 TITLE:=send a message to everybody's terminal
405 SUBMENU=Terminal
406 endef
407
408 define Package/wall/description
409 wall sends a message to everybody logged in with their mesg permission
410 set to yes
411 endef
412
413 define Package/whereis
414 $(call Package/util-linux/Default)
415 TITLE:=locate the binary, source, and manual page files for a command
416 endef
417
418 define Package/whereis/description
419 whereis locates source/binary and manuals sections for specified files
420 endef
421
422 define Package/wipefs
423 $(call Package/util-linux/Default)
424 TITLE:=wipe a signature from a device
425 DEPENDS:= +libblkid
426 SUBMENU:=Disc
427 endef
428
429 define Package/wipefs/description
430 wipefs can erase filesystem, raid or partition table signatures (magic
431 strings) from the specified device to make the signature invisible for
432 libblkid.
433 endef
434
435 CONFIGURE_ARGS += \
436 --disable-use-tty-group \
437 --disable-rpath \
438 --disable-tls \
439 --disable-sulogin \
440 --without-python \
441 --without-udev \
442 --without-readline \
443 --disable-more \
444 $(if $(CONFIG_PACKAGE_cal)$(CONFIG_PACKAGE_cfdisk)$(CONFIG_PACKAGE_setterm),--with-ncursesw,--without-ncurses)
445
446 TARGET_CFLAGS += $(FPIC) -std=gnu99
447
448 define Build/InstallDev
449 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
450 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/blkid.pc $(1)/usr/lib/pkgconfig
451 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fdisk.pc $(1)/usr/lib/pkgconfig
452 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mount.pc $(1)/usr/lib/pkgconfig
453 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/smartcols.pc $(1)/usr/lib/pkgconfig
454 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/uuid.pc $(1)/usr/lib/pkgconfig
455
456 $(INSTALL_DIR) $(1)/usr/include/blkid
457 $(CP) $(PKG_INSTALL_DIR)/usr/include/blkid/blkid.h $(1)/usr/include/blkid
458 $(INSTALL_DIR) $(1)/usr/include/libfdisk
459 $(CP) $(PKG_INSTALL_DIR)/usr/include/libfdisk/libfdisk.h $(1)/usr/include/libfdisk
460 $(INSTALL_DIR) $(1)/usr/include/libmount
461 $(CP) $(PKG_INSTALL_DIR)/usr/include/libmount/libmount.h $(1)/usr/include/libmount
462 $(INSTALL_DIR) $(1)/usr/include/uuid
463 $(CP) $(PKG_INSTALL_DIR)/usr/include/uuid/uuid.h $(1)/usr/include/uuid
464 $(INSTALL_DIR) $(1)/usr/include/libsmartcols
465 $(CP) $(PKG_INSTALL_DIR)/usr/include/libsmartcols/libsmartcols.h $(1)/usr/include/libsmartcols
466
467 $(INSTALL_DIR) $(1)/usr/lib
468 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib
469 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib
470 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib
471 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib
472 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib
473
474 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
475 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
476 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
477 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
478 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
479 endef
480
481
482 define Package/libfdisk/install
483 $(INSTALL_DIR) $(1)/usr/lib
484 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib/
485 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
486 endef
487
488 define Package/libblkid/install
489 $(INSTALL_DIR) $(1)/usr/lib
490 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib/
491 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
492 endef
493
494 define Package/libmount/install
495 $(INSTALL_DIR) $(1)/usr/lib
496 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib/
497 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
498 endef
499
500 define Package/libsmartcols/install
501 $(INSTALL_DIR) $(1)/usr/lib
502 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib/
503 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
504 endef
505
506 define Package/libuuid/install
507 $(INSTALL_DIR) $(1)/usr/lib
508 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib/
509 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
510 endef
511
512 define Package/agetty/install
513 $(INSTALL_DIR) $(1)/usr/sbin
514 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/agetty $(1)/usr/sbin/
515 endef
516
517 define Package/blkdiscard/install
518 $(INSTALL_DIR) $(1)/usr/sbin
519 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkdiscard $(1)/usr/sbin/
520 endef
521
522 define Package/blkid/install
523 $(INSTALL_DIR) $(1)/usr/sbin
524 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/
525 endef
526
527 define Package/cal/install
528 $(INSTALL_DIR) $(1)/usr/bin
529 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/
530 endef
531
532 define Package/cfdisk/install
533 $(INSTALL_DIR) $(1)/usr/sbin
534 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
535 endef
536
537 define Package/dmesg/install
538 $(INSTALL_DIR) $(1)/usr/bin
539 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
540 endef
541
542 define Package/fdisk/install
543 $(INSTALL_DIR) $(1)/usr/sbin
544 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fdisk $(1)/usr/sbin/
545 endef
546
547 define Package/findfs/install
548 $(INSTALL_DIR) $(1)/usr/sbin
549 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/findfs $(1)/usr/sbin/
550 endef
551
552 define Package/flock/install
553 $(INSTALL_DIR) $(1)/usr/bin
554 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/flock $(1)/usr/bin/
555 endef
556
557 define Package/getopt/install
558 $(INSTALL_DIR) $(1)/usr/bin
559 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getopt $(1)/usr/bin/
560 endef
561
562 define Package/hwclock/install
563 $(INSTALL_DIR) $(1)/usr/sbin
564 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
565 endef
566
567 define Package/logger/install
568 $(INSTALL_DIR) $(1)/usr/bin
569 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/
570 endef
571
572 define Package/look/install
573 $(INSTALL_DIR) $(1)/usr/bin
574 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/look $(1)/usr/bin/
575 endef
576
577 define Package/losetup/install
578 $(INSTALL_DIR) $(1)/usr/sbin
579 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/losetup $(1)/usr/sbin/
580 endef
581
582 define Package/lsblk/install
583 $(INSTALL_DIR) $(1)/usr/bin
584 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
585 endef
586
587 define Package/mcookie/install
588 $(INSTALL_DIR) $(1)/usr/bin
589 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
590 endef
591
592 define Package/mount-utils/install
593 $(INSTALL_DIR) $(1)/usr/bin
594 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{u,}mount $(1)/usr/bin/
595 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mountpoint $(1)/usr/bin/
596 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/findmnt $(1)/usr/bin/
597 endef
598
599 define Package/namei/install
600 $(INSTALL_DIR) $(1)/usr/bin
601 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
602 endef
603
604 define Package/prlimit/install
605 $(INSTALL_DIR) $(1)/usr/bin
606 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/
607 endef
608
609 define Package/rename/install
610 $(INSTALL_DIR) $(1)/usr/bin
611 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rename $(1)/usr/bin/
612 endef
613
614 define Package/partx-utils/install
615 $(INSTALL_DIR) $(1)/usr/sbin
616 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/partx $(1)/usr/sbin/
617 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/addpart $(1)/usr/sbin/
618 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/delpart $(1)/usr/sbin/
619 endef
620
621 define Package/script-utils/install
622 $(INSTALL_DIR) $(1)/usr/bin
623 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/script $(1)/usr/bin/
624 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scriptreplay $(1)/usr/bin/
625 endef
626
627 define Package/setterm/install
628 $(INSTALL_DIR) $(1)/usr/bin
629 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/setterm $(1)/usr/bin/
630 endef
631
632 define Package/sfdisk/install
633 $(INSTALL_DIR) $(1)/usr/sbin
634 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sfdisk $(1)/usr/sbin/
635 endef
636
637 define Package/swap-utils/install
638 $(INSTALL_DIR) $(1)/usr/sbin
639 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkswap $(1)/usr/sbin/
640 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
641 endef
642
643 define Package/uuidd/install
644 $(INSTALL_DIR) $(1)/usr/sbin
645 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/
646 endef
647
648 define Package/uuidgen/install
649 $(INSTALL_DIR) $(1)/usr/bin
650 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin//uuidgen $(1)/usr/bin/
651 endef
652
653 define Package/wall/install
654 $(INSTALL_DIR) $(1)/usr/bin
655 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wall $(1)/usr/bin/
656 endef
657
658 define Package/whereis/install
659 $(INSTALL_DIR) $(1)/usr/bin
660 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whereis $(1)/usr/bin/
661 endef
662
663 define Package/wipefs/install
664 $(INSTALL_DIR) $(1)/usr/sbin
665 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
666 endef
667
668 $(eval $(call BuildPackage,libblkid))
669 $(eval $(call BuildPackage,libfdisk))
670 $(eval $(call BuildPackage,libmount))
671 $(eval $(call BuildPackage,libsmartcols))
672 $(eval $(call BuildPackage,libuuid))
673 $(eval $(call BuildPackage,agetty))
674 $(eval $(call BuildPackage,blkdiscard))
675 $(eval $(call BuildPackage,blkid))
676 $(eval $(call BuildPackage,cal))
677 $(eval $(call BuildPackage,cfdisk))
678 $(eval $(call BuildPackage,dmesg))
679 $(eval $(call BuildPackage,fdisk))
680 $(eval $(call BuildPackage,findfs))
681 $(eval $(call BuildPackage,flock))
682 $(eval $(call BuildPackage,getopt))
683 $(eval $(call BuildPackage,hwclock))
684 $(eval $(call BuildPackage,logger))
685 $(eval $(call BuildPackage,look))
686 $(eval $(call BuildPackage,losetup))
687 $(eval $(call BuildPackage,lsblk))
688 $(eval $(call BuildPackage,mcookie))
689 $(eval $(call BuildPackage,mount-utils))
690 $(eval $(call BuildPackage,namei))
691 $(eval $(call BuildPackage,prlimit))
692 $(eval $(call BuildPackage,rename))
693 $(eval $(call BuildPackage,partx-utils))
694 $(eval $(call BuildPackage,script-utils))
695 $(eval $(call BuildPackage,setterm))
696 $(eval $(call BuildPackage,sfdisk))
697 $(eval $(call BuildPackage,swap-utils))
698 $(eval $(call BuildPackage,uuidd))
699 $(eval $(call BuildPackage,uuidgen))
700 $(eval $(call BuildPackage,wall))
701 $(eval $(call BuildPackage,whereis))
702 $(eval $(call BuildPackage,wipefs))