Changeset 9
- Timestamp:
- 11/02/05 14:37:45 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debbuild
r8 r9 483 483 # Creates the binary .deb package from the installed tree in $buildroot. 484 484 sub binpackage { 485 # Some checks on the .deb file location 486 if (!-e "$topdir/DEBS/i386") { 487 # "if [ -e $topdir/DEBS/i386 ]; then\n\tmkdir $topdir/DEBS/i386\nfi\n". 488 mkdir "$topdir/DEBS/i386"; 489 } 485 490 # Gotta do this first, otherwise the control file has nowhere to go. >:( 486 eval {487 491 mkdir "$buildroot/DEBIAN"; 488 };489 die $@ if $@;490 492 491 493 # create script filename … … 495 497 print DEBSCRIPT $scriptletbase; 496 498 print DEBSCRIPT "tree $buildroot\n". 497 "mkdir $topdir/DEBS/i386\n". 498 "dpkg-deb -b $buildroot $topdir/DEBS/i386/$pkgdata{main}{name}_$pkgdata{main}{version}-$pkgdata{main}{release}_i386.deb\n"; 499 "fakeroot dpkg-deb -b $buildroot $topdir/DEBS/i386/$pkgdata{main}{name}_$pkgdata{main}{version}-$pkgdata{main}{release}_i386.deb\n"; 499 500 500 501 close DEBSCRIPT;
Note:
See TracChangeset
for help on using the changeset viewer.