util-linux: fix breakage
[openwrt/staging/wigyori.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.28
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.28
16 PKG_MD5SUM:=e534e6ccc49107e5d31c329af798ef7d
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 URL:=http://www.kernel.org/pub/linux/utils/util-linux/
44 endef
45
46 define Package/libblkid
47 $(call Package/util-linux/Default)
48 DEPENDS:=+libuuid
49 TITLE:=block device id library
50 SECTION:=libs
51 CATEGORY:=Libraries
52 endef
53
54 define Package/libblkid/description
55 The libblkid library is used to identify block devices (disks) as to their
56 content (e.g. filesystem type, partitions) as well as extracting additional
57 information such as filesystem labels/volume names, partitions, unique
58 identifiers/serial numbers...
59 endef
60
61 define Package/libfdisk
62 $(call Package/util-linux/Default)
63 DEPENDS:=+libuuid +libblkid
64 TITLE:=partition manipulating library
65 SECTION:=libs
66 CATEGORY:=Libraries
67 endef
68
69 define Package/libfdisk/description
70 The libfdisk library is used for manipulating with partition tables.
71 endef
72
73 define Package/libmount
74 $(call Package/util-linux/Default)
75 DEPENDS:=+libblkid
76 TITLE:=mount library
77 SECTION:=libs
78 CATEGORY:=Libraries
79 endef
80
81 define Package/libmount/description
82 The libmount library is used to parse /etc/fstab, /etc/mtab and
83 /proc/self/mountinfo files, manage the mtab file, evaluate mount options...
84 endef
85
86 define Package/libuuid
87 $(call Package/util-linux/Default)
88 TITLE:=DCE compatible Universally Unique Identifier library
89 SECTION:=libs
90 CATEGORY:=Libraries
91 endef
92
93 define Package/libuuid/description
94 The UUID library is used to generate unique identifiers for objects
95 that may be accessible beyond the local system. This library
96 generates UUIDs compatible with those created by the Open Software
97 Foundation (OSF) Distributed Computing Environment (DCE) utility.
98 endef
99
100 define Package/libsmartcols
101 $(call Package/util-linux/Default)
102 TITLE:=table or tree library
103 SECTION:=libs
104 CATEGORY:=Libraries
105 endef
106
107 define Package/libsmartcols/description
108 The smartcols library is used to print tables and trees in a pretty way.
109 endef
110
111 define Package/agetty
112 $(call Package/util-linux/Default)
113 TITLE:=alternative Linux getty
114 SUBMENU=Terminal
115 endef
116
117 define Package/agetty/description
118 agetty opens a tty port, prompts for a login name and invokes the
119 /bin/login command
120 endef
121
122 define Package/blkdiscard
123 $(call Package/util-linux/Default)
124 TITLE:=discard sectors on a device
125 SUBMENU=disc
126 endef
127
128 define Package/blkdiscard/description
129 The blkdiscard is used to discard device sectors. This is useful for
130 solid-state drivers (SSDs) and thinly-provisioned storage. Unlike fstrim,
131 this command is used directly on the block device.
132 endef
133
134 define Package/blkid
135 $(call Package/util-linux/Default)
136 TITLE:=locate and print block device attributes
137 DEPENDS:= +libblkid +libuuid
138 SUBMENU=disc
139 endef
140
141 define Package/blkid/description
142 The blkid program is the command-line interface to working with the libblkid
143 library.
144 endef
145
146 define Package/cal
147 $(call Package/util-linux/Default)
148 TITLE:=display a calendar
149 DEPENDS:= +libncurses
150 endef
151
152 define Package/cal/description
153 cal displays a simple calendar
154 endef
155
156 define Package/cfdisk
157 $(call Package/util-linux/Default)
158 TITLE:=display or manipulate disk partition table
159 DEPENDS:= +libblkid +libncurses +libsmartcols +libfdisk +libmount
160 SUBMENU:=disc
161 endef
162
163 define Package/cfdisk/description
164 cfdisk is a curses-based program for partitioning any hard disk drive
165 endef
166
167 define Package/dmesg
168 $(call Package/util-linux/Default)
169 TITLE:=print or control the kernel ring buffer
170 DEPENDS:= +librt
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:=disc
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 $(if $(CONFIG_PACKAGE_cal)$(CONFIG_PACKAGE_cfdisk)$(CONFIG_PACKAGE_setterm),--with-ncurses,--without-ncurses)
444
445 TARGET_CFLAGS += $(FPIC) -std=gnu99
446
447 define Build/InstallDev
448 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
449 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/blkid.pc $(1)/usr/lib/pkgconfig
450 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fdisk.pc $(1)/usr/lib/pkgconfig
451 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mount.pc $(1)/usr/lib/pkgconfig
452 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/smartcols.pc $(1)/usr/lib/pkgconfig
453 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/uuid.pc $(1)/usr/lib/pkgconfig
454
455 $(INSTALL_DIR) $(1)/usr/include/blkid
456 $(CP) $(PKG_INSTALL_DIR)/usr/include/blkid/blkid.h $(1)/usr/include/blkid
457 $(INSTALL_DIR) $(1)/usr/include/libfdisk
458 $(CP) $(PKG_INSTALL_DIR)/usr/include/libfdisk/libfdisk.h $(1)/usr/include/libfdisk
459 $(INSTALL_DIR) $(1)/usr/include/libmount
460 $(CP) $(PKG_INSTALL_DIR)/usr/include/libmount/libmount.h $(1)/usr/include/libmount
461 $(INSTALL_DIR) $(1)/usr/include/uuid
462 $(CP) $(PKG_INSTALL_DIR)/usr/include/uuid/uuid.h $(1)/usr/include/uuid
463 $(INSTALL_DIR) $(1)/usr/include/libsmartcols
464 $(CP) $(PKG_INSTALL_DIR)/usr/include/libsmartcols/libsmartcols.h $(1)/usr/include/libsmartcols
465
466 $(INSTALL_DIR) $(1)/usr/lib
467 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib
468 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib
469 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib
470 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib
471 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib
472
473 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
474 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
475 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
476 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
477 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
478 endef
479
480
481 define Package/libfdisk/install
482 $(INSTALL_DIR) $(1)/usr/lib
483 $(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib/
484 $(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
485 endef
486
487 define Package/libblkid/install
488 $(INSTALL_DIR) $(1)/usr/lib
489 $(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib/
490 $(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
491 endef
492
493 define Package/libmount/install
494 $(INSTALL_DIR) $(1)/usr/lib
495 $(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib/
496 $(LN) libmount.so.1 $(1)/usr/lib/libmount.so
497 endef
498
499 define Package/libsmartcols/install
500 $(INSTALL_DIR) $(1)/usr/lib
501 $(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib/
502 $(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
503 endef
504
505 define Package/libuuid/install
506 $(INSTALL_DIR) $(1)/usr/lib
507 $(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib/
508 $(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
509 endef
510
511 define Package/agetty/install
512 $(INSTALL_DIR) $(1)/usr/sbin
513 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/agetty $(1)/usr/sbin/
514 endef
515
516 define Package/blkdiscard/install
517 $(INSTALL_DIR) $(1)/usr/sbin
518 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkdiscard $(1)/usr/sbin/
519 endef
520
521 define Package/blkid/install
522 $(INSTALL_DIR) $(1)/usr/sbin
523 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/
524 endef
525
526 define Package/cal/install
527 $(INSTALL_DIR) $(1)/usr/bin
528 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/
529 endef
530
531 define Package/cfdisk/install
532 $(INSTALL_DIR) $(1)/usr/sbin
533 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
534 endef
535
536 define Package/dmesg/install
537 $(INSTALL_DIR) $(1)/usr/bin
538 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
539 endef
540
541 define Package/fdisk/install
542 $(INSTALL_DIR) $(1)/usr/sbin
543 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fdisk $(1)/usr/sbin/
544 endef
545
546 define Package/findfs/install
547 $(INSTALL_DIR) $(1)/usr/sbin
548 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/findfs $(1)/usr/sbin/
549 endef
550
551 define Package/flock/install
552 $(INSTALL_DIR) $(1)/usr/bin
553 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/flock $(1)/usr/bin/
554 endef
555
556 define Package/getopt/install
557 $(INSTALL_DIR) $(1)/usr/bin
558 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getopt $(1)/usr/bin/
559 endef
560
561 define Package/hwclock/install
562 $(INSTALL_DIR) $(1)/usr/sbin
563 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
564 endef
565
566 define Package/logger/install
567 $(INSTALL_DIR) $(1)/usr/bin
568 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/
569 endef
570
571 define Package/look/install
572 $(INSTALL_DIR) $(1)/usr/bin
573 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/look $(1)/usr/bin/
574 endef
575
576 define Package/losetup/install
577 $(INSTALL_DIR) $(1)/usr/sbin
578 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/losetup $(1)/usr/sbin/
579 endef
580
581 define Package/lsblk/install
582 $(INSTALL_DIR) $(1)/usr/bin
583 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
584 endef
585
586 define Package/mcookie/install
587 $(INSTALL_DIR) $(1)/usr/bin
588 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
589 endef
590
591 define Package/mount-utils/install
592 $(INSTALL_DIR) $(1)/usr/bin
593 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{u,}mount $(1)/usr/bin/
594 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mountpoint $(1)/usr/bin/
595 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/findmnt $(1)/usr/bin/
596 endef
597
598 define Package/namei/install
599 $(INSTALL_DIR) $(1)/usr/bin
600 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
601 endef
602
603 define Package/prlimit/install
604 $(INSTALL_DIR) $(1)/usr/bin
605 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/
606 endef
607
608 define Package/rename/install
609 $(INSTALL_DIR) $(1)/usr/bin
610 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rename $(1)/usr/bin/
611 endef
612
613 define Package/partx-utils/install
614 $(INSTALL_DIR) $(1)/usr/sbin
615 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/partx $(1)/usr/sbin/
616 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/addpart $(1)/usr/sbin/
617 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/delpart $(1)/usr/sbin/
618 endef
619
620 define Package/script-utils/install
621 $(INSTALL_DIR) $(1)/usr/bin
622 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/script $(1)/usr/bin/
623 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scriptreplay $(1)/usr/bin/
624 endef
625
626 define Package/setterm/install
627 $(INSTALL_DIR) $(1)/usr/bin
628 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/setterm $(1)/usr/bin/
629 endef
630
631 define Package/sfdisk/install
632 $(INSTALL_DIR) $(1)/usr/sbin
633 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sfdisk $(1)/usr/sbin/
634 endef
635
636 define Package/swap-utils/install
637 $(INSTALL_DIR) $(1)/usr/sbin
638 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkswap $(1)/usr/sbin/
639 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
640 endef
641
642 define Package/uuidd/install
643 $(INSTALL_DIR) $(1)/usr/sbin
644 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/
645 endef
646
647 define Package/uuidgen/install
648 $(INSTALL_DIR) $(1)/usr/bin
649 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin//uuidgen $(1)/usr/bin/
650 endef
651
652 define Package/wall/install
653 $(INSTALL_DIR) $(1)/usr/bin
654 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wall $(1)/usr/bin/
655 endef
656
657 define Package/whereis/install
658 $(INSTALL_DIR) $(1)/usr/bin
659 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whereis $(1)/usr/bin/
660 endef
661
662 define Package/wipefs/install
663 $(INSTALL_DIR) $(1)/usr/sbin
664 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
665 endef
666
667 $(eval $(call BuildPackage,libblkid))
668 $(eval $(call BuildPackage,libfdisk))
669 $(eval $(call BuildPackage,libmount))
670 $(eval $(call BuildPackage,libsmartcols))
671 $(eval $(call BuildPackage,libuuid))
672 $(eval $(call BuildPackage,agetty))
673 $(eval $(call BuildPackage,blkdiscard))
674 $(eval $(call BuildPackage,blkid))
675 $(eval $(call BuildPackage,cal))
676 $(eval $(call BuildPackage,cfdisk))
677 $(eval $(call BuildPackage,dmesg))
678 $(eval $(call BuildPackage,fdisk))
679 $(eval $(call BuildPackage,findfs))
680 $(eval $(call BuildPackage,flock))
681 $(eval $(call BuildPackage,getopt))
682 $(eval $(call BuildPackage,hwclock))
683 $(eval $(call BuildPackage,logger))
684 $(eval $(call BuildPackage,look))
685 $(eval $(call BuildPackage,losetup))
686 $(eval $(call BuildPackage,lsblk))
687 $(eval $(call BuildPackage,mcookie))
688 $(eval $(call BuildPackage,mount-utils))
689 $(eval $(call BuildPackage,namei))
690 $(eval $(call BuildPackage,prlimit))
691 $(eval $(call BuildPackage,rename))
692 $(eval $(call BuildPackage,partx-utils))
693 $(eval $(call BuildPackage,script-utils))
694 $(eval $(call BuildPackage,setterm))
695 $(eval $(call BuildPackage,sfdisk))
696 $(eval $(call BuildPackage,swap-utils))
697 $(eval $(call BuildPackage,uuidd))
698 $(eval $(call BuildPackage,uuidgen))
699 $(eval $(call BuildPackage,wall))
700 $(eval $(call BuildPackage,whereis))
701 $(eval $(call BuildPackage,wipefs))